Table of Contents

Image


Inherits from Control.


btn


Properties:

Source The image source. This must be a URL or a binding to a URL.

Example

<Image Row="2" Column="1" Source="{Binding Path:Person.Photo}"/>

<Image Row="2" Column="1" Source="http://my/images/photo.jpg"/>

Click Specifies the name of the Function to call when the user clicks the image.

Example

<Image Name="Image1" Click="ImageClicked"/>

This example shows how to pass an argument to the function.

<Image Name="Image1" Click="ImageClicked('My image')"/>

Hotkey

Specifies the hotkey for the control.

Example

<Input Hotkey="Alt+I"/>

img


Videos