HostedWpfControl.Icon Property

Gets or sets the icone.

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

Usage

'Usage
Dim instance As HostedWpfControl
Dim value As Icon

value = instance.Icon

instance.Icon = value

Syntax

'Declaration
<DescriptionAttribute("Image used to represent the hosted application")> _
<ObsoleteAttribute("Use the ImageSource property")> _
<CategoryAttribute("Appearance")> _
<BrowsableAttribute(True)> _
Public Overridable Property Icon As Icon
[DescriptionAttribute("Image used to represent the hosted application")] 
[ObsoleteAttribute("Use the ImageSource property")] 
[CategoryAttribute("Appearance")] 
[BrowsableAttribute(true)] 
public virtual Icon Icon { get; set; }
[DescriptionAttribute(L"Image used to represent the hosted application")] 
[ObsoleteAttribute(L"Use the ImageSource property")] 
[CategoryAttribute(L"Appearance")] 
[BrowsableAttribute(true)] 
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)

Property Value

Type: Icon.

Remarks

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

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

HostedWpfControl Class
HostedWpfControl Members
Microsoft.Uii.Csr.Aif.HostedApplication Namespace

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