Category / Section
How to show or hide the caption in the ToolStripEx?
1 min read
Show or hide the caption
ToolStripEx control displays a Caption at the top left corner of the control, by default. The caption visibility can be customized by using the ShowCaption property in the ToolStripEx.
C#
//Shows the caption in the ToolStripEx this.toolStripEx1.ShowCaption = true; //Hides the caption in the ToolStripEx this.toolStripEx1.ShowCaption = false;
VB
'Shows the caption in the ToolStripEx Me.toolStripEx1.ShowCaption = True 'Hides the caption in the ToolStripEx Me.toolStripEx1.ShowCaption = False
Note:
The value of the ShowCaption property is set to true, by default.
Figure 1: Caption is displayed in the ToolStripEx.
Figure 2:Caption is hided in ToolStripEx.
Samples: