In This Topic
Syntax
'Declaration
<System.ComponentModel.AmbientValueAttribute("")>
<System.ComponentModel.LocalizableAttribute(True)>
<SRCategoryAttribute("CatWindowStyle")>
<SRDescriptionAttribute("FormIconDescr")>
Public Property Icon As System.Drawing.Icon
'Usage
Dim instance As LicenseDialog
Dim value As System.Drawing.Icon
instance.Icon = value
value = instance.Icon
[System.ComponentModel.AmbientValue("")]
[System.ComponentModel.Localizable(true)]
[SRCategory("CatWindowStyle")]
[SRDescription("FormIconDescr")]
public System.Drawing.Icon Icon {get; set;}
public read-write property Icon: System.Drawing.Icon;
System.ComponentModel.AmbientValueAttribute("")
System.ComponentModel.LocalizableAttribute()
SRCategoryAttribute("CatWindowStyle")
SRDescriptionAttribute("FormIconDescr")
public function get,set Icon : System.Drawing.Icon
[System.ComponentModel.AmbientValue("")]
[System.ComponentModel.Localizable(true)]
[SRCategory("CatWindowStyle")]
[SRDescription("FormIconDescr")]
public: __property System.Drawing.Icon* get_Icon();
public: __property void set_Icon(
System.Drawing.Icon* value
);
[System.ComponentModel.AmbientValue("")]
[System.ComponentModel.Localizable(true)]
[SRCategory("CatWindowStyle")]
[SRDescription("FormIconDescr")]
public:
property System.Drawing.Icon^ Icon {
System.Drawing.Icon^ get();
void set ( System.Drawing.Icon^ value);
}
Requirements
Target Platforms: .NET CLR 4.8 or higher
See Also