ThumbButtonInfo.ImageSource Property
Gets or sets the image that is displayed on the thumbnail button.
Namespace: Microsoft.Windows.Shell
Assembly: Microsoft.Windows.Shell (in Microsoft.Windows.Shell.dll)
Syntax
'Declaration
Public Property ImageSource As ImageSource
public ImageSource ImageSource { get; set; }
public:
property ImageSource^ ImageSource {
ImageSource^ get ();
void set (ImageSource^ value);
}
member ImageSource : ImageSource with get, set
function get ImageSource () : ImageSource
function set ImageSource (value : ImageSource)
Property Value
Type: System.Windows.Media.ImageSource
The image that is displayed on the thumbnail button. The default is nulla null reference (Nothing in Visual Basic).
Remarks
You can place a static or animated ImageSource on the thumbnail button. The images are rendered at the appropriate size. If the ImageSource represents an Icon, the appropriate bit depth is also used.
To provide additional textual information about the thumbnail button, set the Description property.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.