次の方法で共有


HostedWpfControl.Icon Property

Definition

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.

Applies to