Share via


ThumbButtonInfo.Visibility Property

Gets or sets a value that specifies the display state of the thumbnail button.

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

Syntax

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

Property Value

Type: System.Windows.Visibility
An enumeration value that specifies the display state of the thumbnail button. The default is Visible.

Remarks

By default, the thumbnail button is Visible. Windows 7 allows a maximum of seven buttons in the taskbar thumbnail. When the Visibility property is set to Hidden, the thumbnail button has no visible elements, but space is still reserved for it. When the thumbnail button is Collapsed, it does not have any visible elements and no space is reserved for it. In this case, additional thumbnail buttons in the ThumbButtonInfos collection are displayed.

.NET Framework Security

See Also

Reference

ThumbButtonInfo Class

Microsoft.Windows.Shell Namespace

ThumbButtonInfoCollection