Class ToolTabStrip
A predefined DockTabStrip instance that is used to store ToolWindow instances.
Inherited Members
Namespace: Telerik.WinControls.UI.Docking
Assembly: Telerik.WinControls.RadDock.dll
Syntax
public class ToolTabStrip : DockTabStrip, INotifyPropertyChanged, ISupportInitializeNotification, ISupportInitialize, IComponentTreeHandler, ILayoutHandler, IPCHost, IAnalyticsProvider
Constructors
ToolTabStrip()
ToolTabStrip(RadDock)
Initializes a default instance of the ToolTabStrip class and associates it with the provided RadDock instance.
Declaration
public ToolTabStrip(RadDock dockManager)
Parameters
RadDock
dockManager
|
Fields
window
The root element which describes the layout of this instance.
Declaration
protected DockLayoutPanel window
Field Value
DockLayoutPanel
|
Properties
ActionMenuButton
Gets the system menu RadDropDownButtonElement that appears as titlebar of ToolTabStrip
Declaration
public RadDropDownButtonElement ActionMenuButton { get; }
Property Value
RadDropDownButtonElement
|
AutoHideButton
Gets the auto-hide RadButtonElement that appears as titlebar of ToolTabStrip
Declaration
public RadToggleButtonElement AutoHideButton { get; }
Property Value
RadToggleButtonElement
|
AutoHidePosition
Gets or sets the auto-hide position for the strip.
Declaration
public AutoHidePosition AutoHidePosition { get; set; }
Property Value
AutoHidePosition
|
CaptionElement
Gets the ToolWindowCaptionElement that appears as titlebar of ToolTabStrip
Declaration
public ToolWindowCaptionElement CaptionElement { get; }
Property Value
ToolWindowCaptionElement
|
CaptionLayoutPanel
Gets an instance of the DockLayoutPanelclass that represents the layout panel that holds the caption.
Declaration
public DockLayoutPanel CaptionLayoutPanel { get; }
Property Value
DockLayoutPanel
|
CaptionVisible
Determines whether the Caption element of the strip is visible.
Declaration
public bool CaptionVisible { get; set; }
Property Value
System.Boolean
|
CloseButton
Gets the close RadButtonElement that appears as titlebar of ToolTabStrip
Declaration
public RadButtonElement CloseButton { get; }
Property Value
RadButtonElement
|
DockType
Returns ToolWindow dock type.
Declaration
public override DockType DockType { get; }
Property Value
DockType
|
Overrides
TabPanelBounds
Declaration
public override Rectangle TabPanelBounds { get; }
Property Value
System.Drawing.Rectangle
|
Overrides
ThemeClassName
Declaration
public override string ThemeClassName { get; set; }
Property Value
System.String
|
Overrides
Methods
ControlDefinesThemeForElement(RadElement)
Checks whether the element
's theme is defined by the control.
Declaration
public override bool ControlDefinesThemeForElement(RadElement element)
Parameters
RadElement
element
The element to should be checked. |
Returns
System.Boolean
true if the control defines theme for this element, false otherwise. |
Overrides
Remarks
If true is returned the ThemeResolutionService would not not set any theme to the element to avoid duplicating the style settings of the element.
CreateChildItems(RadElement)
Declaration
protected override void CreateChildItems(RadElement parent)
Parameters
RadElement
parent
|
Overrides
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
System.Boolean
disposing
|
Overrides
GetAutoHideButtonChecked()
Determines whether the auto-hide button is checked.
Declaration
protected virtual bool GetAutoHideButtonChecked()
Returns
System.Boolean
|
GetTabStripVisible()
Determines whether the tabstrip element is visible.
Declaration
protected override bool GetTabStripVisible()
Returns
System.Boolean
|
Overrides
IsDragAllowed(Point)
Declaration
protected override bool IsDragAllowed(Point location)
Parameters
System.Drawing.Point
location
|
Returns
System.Boolean
|
Overrides
OnLayout(LayoutEventArgs)
Declaration
protected override void OnLayout(LayoutEventArgs e)
Parameters
System.Windows.Forms.LayoutEventArgs
e
|
Overrides
OnLocalizationProviderChanged()
Declaration
protected override void OnLocalizationProviderChanged()
Overrides
OnMouseDoubleClick(MouseEventArgs)
Declaration
protected override void OnMouseDoubleClick(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
|
Overrides
OnMouseDown(MouseEventArgs)
Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
|
Overrides
OnRightToLeftChanged(EventArgs)
Declaration
protected override void OnRightToLeftChanged(EventArgs e)
Parameters
System.EventArgs
e
|
Overrides
OnSelectedIndexChanging(TabStripPanelSelectedIndexChangingEventArgs)
Declaration
protected override void OnSelectedIndexChanging(TabStripPanelSelectedIndexChangingEventArgs e)
Parameters
TabStripPanelSelectedIndexChangingEventArgs
e
|
Overrides
OnTabStripAlignmentChanged(EventArgs)
Declaration
protected override void OnTabStripAlignmentChanged(EventArgs e)
Parameters
System.EventArgs
e
|
Overrides
ShouldHandleDoubleClick()
Determines whether a mouse double-click event should be handled.
Declaration
protected override bool ShouldHandleDoubleClick()
Returns
System.Boolean
|
Overrides
ShouldSerializeCaptionVisible()
Declaration
public bool ShouldSerializeCaptionVisible()
Returns
System.Boolean
|
UpdateActiveWindow(DockWindow, Boolean)
Declaration
protected override void UpdateActiveWindow(DockWindow window, bool active)
Parameters
DockWindow
window
|
System.Boolean
active
|
Overrides
UpdateButtons()
UpdateCaptionText()
Updates the caption text, depending on the currently selected dock window.
Declaration
protected void UpdateCaptionText()
UpdateTabSelection(Boolean)
Declaration
public override void UpdateTabSelection(bool updateFocus)
Parameters
System.Boolean
updateFocus
|