HostedControl.Icon Property

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

Namespace: Microsoft.Uii.Csr
Assembly: Microsoft.Uii.Csr.Core (in Microsoft.Uii.Csr.Core.dll)

Usage

'Usage
Dim instance As HostedControl
Dim value As Icon

value = instance.Icon

instance.Icon = value

Syntax

'Declaration
<CategoryAttribute("Appearance")> _
<BrowsableAttribute(True)> _
<DescriptionAttribute("Image used to represent the hosted application")> _
Public Overridable Property Icon As Icon
[CategoryAttribute("Appearance")] 
[BrowsableAttribute(true)] 
[DescriptionAttribute("Image used to represent the hosted application")] 
public virtual Icon Icon { get; set; }
[CategoryAttribute(L"Appearance")] 
[BrowsableAttribute(true)] 
[DescriptionAttribute(L"Image used to represent the hosted application")] 
public:
virtual property Icon^ Icon {
    Icon^ get ();
    void set (Icon^ value);
}
/** @property */
public Icon get_Icon ()

/** @property */
public void set_Icon (Icon value)
public function get Icon () : Icon

public function set Icon (value : Icon)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

See Also

Reference

HostedControl Class
HostedControl Members
Microsoft.Uii.Csr Namespace

Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.