Share via


HostedWpfControl.ImageSource Property

Definition

Gets or sets the image source.

public:
 virtual property System::Windows::Media::ImageSource ^ ImageSource { System::Windows::Media::ImageSource ^ get(); void set(System::Windows::Media::ImageSource ^ value); };
[System.ComponentModel.Browsable(true)]
public virtual System.Windows.Media.ImageSource ImageSource { get; set; }
[<System.ComponentModel.Browsable(true)>]
member this.ImageSource : System.Windows.Media.ImageSource with get, set
Public Overridable Property ImageSource As ImageSource

Property Value

Implements

Attributes

Remarks

Used for hosted WinForm apps that want a simple way to set their icons.

Applies to