HostedWpfControl.Icon Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
Use the ImageSource property
Gets or sets the icone.
public:
virtual property System::Drawing::Icon ^ Icon { System::Drawing::Icon ^ get(); void set(System::Drawing::Icon ^ value); };
[System.ComponentModel.Browsable(true)]
[System.Obsolete("Use the ImageSource property")]
public virtual System.Drawing.Icon Icon { get; set; }
[<System.ComponentModel.Browsable(true)>]
[<System.Obsolete("Use the ImageSource property")>]
member this.Icon : System.Drawing.Icon with get, set
Public Overridable Property Icon As Icon
Property Value
Implements
- Attributes
Remarks
Used for hosted WinForm apps that want a simple way to set their icons.