Udostępnij za pośrednictwem


HostedWpfControl.ImageSource Property

Gets or sets the image source.

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 ImageSource

value = instance.ImageSource

instance.ImageSource = value

Syntax

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

/** @property */
public void set_ImageSource (ImageSource value)
public function get ImageSource () : ImageSource

public function set ImageSource (value : ImageSource)

Property Value

Type: ImageSource

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.