Tabs and Captions
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. |
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
this.radDock1.DocumentTabsAlignment = TabStripAlignment.Left;
Me.RadDock1.DocumentTabsAlignment = TabStripAlignment.Left
- DocumentTabsVisible: allows you to hide/show all document tabs:
Hiding the document tabs
this.radDock1.DocumentTabsVisible = false;
Me.RadDock1.DocumentTabsVisible = False
- ToolTabAlignment: defines the position of the tabs for all ToolTabStrip instances in RadDock:
Setting the ToolTabsAlignment to Right
this.radDock1.ToolTabsAlignment = TabStripAlignment.Right;
Me.RadDock1.ToolTabsAlignment = TabStripAlignment.Right
- ToolTabsVisible: allows you to hide/show all tool tabs.
Hiding the tool tabs
this.radDock1.ToolTabsVisible = false;
Me.RadDock1.ToolTabsVisible = False
- CaptionVisible: allows you to hide the caption of a single ToolTabStrip.
Hiding the caption of ToolTabStrip
this.toolTabStrip1.CaptionVisible = false;
Me.ToolTabStrip1.CaptionVisible = False
- ShowToolCloseButton and ShowDocumentCloseButton: displays/hides close buttons in the ToolWindow/DocumentWindow tabs.
Showing close buttons
this.radDock1.ShowToolCloseButton = true;
this.radDock1.ShowDocumentCloseButton = true;
Me.RadDock1.ShowToolCloseButton = True
Me.RadDock1.ShowDocumentCloseButton = True
See Also
- AllowedDockStates
- Creating a RadDock at Runtime
- Creating ToolWindow and DocumentWindow at Runtime
- Customizing Floating Windows
- Customizing TabStrip Items
- Building an Advanced Layout at Runtime
- RadDock Properties and Methods
- Removing ToolWindow and DocumentWindow at Runtime
- Accessing DockWindows
- ToolWindow and DocumentWindow Properties and Methods
- Tracking the ActiveWindow