Skip to content

ImageFrame is a control which can be used for displaying images asynchronously. It encapsulates a ImageSurface object which is used for loading and rendering the images. It also supports Pointer interactions and raises events accordingly.

Property ​

Name
AlignX
AlignY
DisplayShadow
FrameBackground
Interpolation
OptimizeShadow
PlaceholderColor
PlaceholderBackground
RenderFast
RenderOptimized
ShadowBlurRadius
ShadowColor
ShadowOffsetX
ShadowOffsetY
ShadowOpacity
ShowPlaceholder
Source
Stretch
TransitionDuration
TransitionMode
UseAutoShadowColor

Example ​

xml
<dev:ImageFrame Source="ms-appx:///Assets/Image.png"/>

ImageFrame

Demo ​

you can run demo and see this feature.

Released under the MIT License.