Category / Section
How to show or hide the panel with header in WinForms XPTaskBar?
1 min read
Show or hide the panel with header
The XpTaskBar control supports to expand or collapse the panel with header. It achieved by enable the ShowCollapseButton property.
C#
//Shows expand and collapse buttons in the header. this.xpTaskBarBox1.ShowCollapseButton = true;
VB
‘Shows expand and collapse buttons in the header. Me.xpTaskBarBox1.ShowCollapseButton = True
Screenshot
Expand panel with header.
Collapse panel with header.
Samples:
C#: XpTaskBarExample
VB: XPTaskBarExample