ThumbButtonInfo.IsEnabled Property
Gets or sets a value that indicates whether the thumbnail button is enabled.
Namespace: Microsoft.Windows.Shell
Assembly: Microsoft.Windows.Shell (in Microsoft.Windows.Shell.dll)
Syntax
'Declaration
Public Property IsEnabled As Boolean
public bool IsEnabled { get; set; }
public:
property bool IsEnabled {
bool get ();
void set (bool value);
}
member IsEnabled : bool with get, set
function get IsEnabled () : boolean
function set IsEnabled (value : boolean)
Property Value
Type: System.Boolean
true if the thumbnail button is enabled; otherwise, false. The default is true.
Remarks
When the IsEnabled property is false, the thumbnail button does not respond to Click events and the ImageSource is dimmed.
.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.