Image : Image ux
The target Image
component to load the image
LoadImage
is a trigger action to fetch the image data for the ImageFill
or Image
.
This Trigger action is useful when we set the AutoLoad
property of the Image
component or ImageFill
brush to false
to make it lazy load,
and then using this trigger action to actually load it
The following example shows how to use:
<StackPanel>
<Image ux:Name="img" Url="https://picsum.photos/600/300" AutoLoad="false" Height="200" />
<Button Text="Load Image">
<Clicked>
<LoadImage Image="img" />
</Clicked>
</Button>
</StackPanel>
The target Image
component to load the image
The target ImageFill
brush to load the image
Creates a new LoadImage
The number of seconds after the start of the trigger that the action should be performed.
hide
hide
hide