ImageSource Property

Gets or sets the ImageSource associated with the editor.
Public Property ImageSource As Object
public object ImageSource {get; set;}

Acceptable value types for this property are an ImageSource instance, a byte array that represents a BitmapImage, a Uri or a string that represents a properly formatted Uri. The ImageEditor will inspect the value of the property and create an ImageSource for the Image element that will ultimately render the image.

The read-only ImageSourceResolved property will return the resolved ImageSource based on the value of this property.

ImageSource and ValueEditor.Value are synchronized.


Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also