Share via


ThumbButtonInfo.IsBackgroundVisible Property

Gets or sets a value that indicates whether a border and highlight is displayed around the thumbnail button.

Namespace:  Microsoft.Windows.Shell
Assembly:  Microsoft.Windows.Shell (in Microsoft.Windows.Shell.dll)

Syntax

'Declaration
Public Property IsBackgroundVisible As Boolean
public bool IsBackgroundVisible { get; set; }
public:
property bool IsBackgroundVisible {
    bool get ();
    void set (bool value);
}
member IsBackgroundVisible : bool with get, set
function get IsBackgroundVisible () : boolean
function set IsBackgroundVisible (value : boolean)

Property Value

Type: System.Boolean
true if a border and highlight is displayed around the thumbnail button; otherwise, false. The default is true.

Remarks

By default, a border appears around the ImageSource, and a highlight is displayed when the mouse pointer is moved over the thumbnail button. To display only the ImageSource without the border and highlight, set the IsBackgroundVisible property to false. If IsBackgroundVisible is false, the ImageSource still shifts when the thumbnail button is clicked to provide visual feedback to the user.

.NET Framework Security

See Also

Reference

ThumbButtonInfo Class

Microsoft.Windows.Shell Namespace