VisualStyleElement::ExplorerBar::SpecialGroupCollapse Class
Provides VisualStyleElement objects for each state of the collapse button of a special group of items in the Explorer Bar. This class cannot be inherited.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
System.Windows.Forms.VisualStyles::VisualStyleElement::ExplorerBar::SpecialGroupCollapse
| Name | Description | |
|---|---|---|
![]() ![]() | Hot | Gets a visual style element that represents a hot collapse button of a special group of items in the Explorer Bar. |
![]() ![]() | Normal | Gets a visual style element that represents a normal collapse button of a special group of items in the Explorer Bar. |
![]() ![]() | Pressed | Gets a visual style element that represents a pressed collapse button of a special group of items in the Explorer Bar. |
Each property of the VisualStyleElement::ExplorerBar::SpecialGroupCollapse class gets a VisualStyleElement for a different state of the collapse button of a special group of items in the Explorer Bar, such as the Music Tasks group in Windows Explorer.
Visual styles are supported only on these platforms.
The following code example demonstrates how to create a VisualStyleRenderer with the VisualStyleElement returned by the Normal property. To run this example, paste it into a Windows Form. Handle the form’s Paint event and call the DrawVisualStyleElementExplorerBarSpecialGroupCollapse1 method from the Paint event-handling method, passing e as PaintEventArgs.
Available since 2.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

