New to Telerik UI for WinFormsStart a free 30-day trial

Tabs and Captions

Updated over 6 months ago
RELATED VIDEOS
RadDock Tab Alignment/Visibility and AutomationIn this video, you will learn about some of the new features provided in the R3 2009 release of the RadDock. These features include tab alignment and visibility as well as drag and drop automation.WinForms RadDock Tabs and Captions Tutorial

RadDock exposes several properties which allow you to have full control over the visibility and the position of the tabs/captions:

  • DocumentTabAlignment: defines the position of the tabs for all DocumentTabStrip instances in RadDock.

Setting DocumentTabsAlignment to Left

C#
this.radDock1.DocumentTabsAlignment = TabStripAlignment.Left;

WinForms RadDock Left DocumentTabsAlignment

  • DocumentTabsVisible: allows you to hide/show all document tabs:

Hiding the document tabs

C#
this.radDock1.DocumentTabsVisible = false;

WinForms RadDock Hiding Document Tabs

  • ToolTabAlignment: defines the position of the tabs for all ToolTabStrip instances in RadDock:

Setting the ToolTabsAlignment to Right

C#
this.radDock1.ToolTabsAlignment = TabStripAlignment.Right;

WinForms RadDock ToolTabsAlignment Right

  • ToolTabsVisible: allows you to hide/show all tool tabs.

Hiding the tool tabs

C#
this.radDock1.ToolTabsVisible = false;

WinForms RadDock Hiding Tool Tabs

  • CaptionVisible: allows you to hide the caption of a single ToolTabStrip.

Hiding the caption of ToolTabStrip

C#
this.toolTabStrip1.CaptionVisible = false;

WinForms RadDock Hinding Caption ToolTabStrip

  • ShowToolCloseButton and ShowDocumentCloseButton: displays/hides close buttons in the ToolWindow/DocumentWindow tabs.

Showing close buttons

C#
this.radDock1.ShowToolCloseButton = true;
this.radDock1.ShowDocumentCloseButton = true;

WinForms RadDock Showing Close Buttons

See Also

In this article
See Also
Not finding the help you need?
Contact Support