Class TabStripPanel
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class TabStripPanel : SplitPanel, INotifyPropertyChanged, ISupportInitializeNotification, ISupportInitialize, IComponentTreeHandler, ILayoutHandler, IPCHost, IAnalyticsProvider
Constructors
TabStripPanel()
Declaration
public TabStripPanel()
Fields
DisableSelection
Disables the selection in the strip panel.
Declaration
public static bool DisableSelection
Field Value
System.Boolean
|
SuspendFocusChange
Suspends the focus change in the strip panel.
Declaration
public static bool SuspendFocusChange
Field Value
System.Boolean
|
Properties
Anchor
Declaration
public override AnchorStyles Anchor { get; set; }
Property Value
System.Windows.Forms.AnchorStyles
|
AutoSize
Declaration
public override bool AutoSize { get; set; }
Property Value
System.Boolean
|
Overrides
CanUpdateChildIndex
Determines whether the child panels' Index update is currently locked. This property is used internally.
Declaration
public bool CanUpdateChildIndex { get; set; }
Property Value
System.Boolean
|
DefaultTabStripAlignment
Gets the default alignment of the TabStripElement.
Declaration
protected virtual TabStripAlignment DefaultTabStripAlignment { get; }
Property Value
TabStripAlignment
|
DefaultTabStripTextOrientation
Gets the default text orientation.
Declaration
protected virtual TabStripTextOrientation DefaultTabStripTextOrientation { get; }
Property Value
TabStripTextOrientation
|
Dock
Declaration
public override DockStyle Dock { get; set; }
Property Value
System.Windows.Forms.DockStyle
|
DragStart
Gets the point where the mouse was pressed and a drag operation has been instanciated.
Declaration
public Point DragStart { get; }
Property Value
System.Drawing.Point
|
Enabled
Declaration
public bool Enabled { get; set; }
Property Value
System.Boolean
|
HasVisibleTabPanels
Declaration
public bool HasVisibleTabPanels { get; }
Property Value
System.Boolean
|
ImageList
Declaration
public override ImageList ImageList { get; set; }
Property Value
System.Windows.Forms.ImageList
|
Overrides
Location
Declaration
public Point Location { get; set; }
Property Value
System.Drawing.Point
|
SelectedIndex
Declaration
public int SelectedIndex { get; set; }
Property Value
System.Int32
|
SelectedTab
ShowItemCloseButton
Determines whether each TabStripItem will display a CloseButton, which allows for explicit close of its corresponding panel.
Declaration
public bool ShowItemCloseButton { get; set; }
Property Value
System.Boolean
|
ShowItemPinButton
Determines whether each TabStripItem will display a CloseButton, which allows for explicit close of its corresponding panel.
Declaration
public bool ShowItemPinButton { get; set; }
Property Value
System.Boolean
|
Size
Declaration
public Size Size { get; set; }
Property Value
System.Drawing.Size
|
TabPanelBounds
Declaration
public virtual Rectangle TabPanelBounds { get; }
Property Value
System.Drawing.Rectangle
|
TabPanelPaddings
Declaration
protected Padding TabPanelPaddings { get; }
Property Value
System.Windows.Forms.Padding
|
TabPanels
TabStripAlignment
Gets or sets the alignment of the tab used to switch among child panels.
Declaration
public TabStripAlignment TabStripAlignment { get; set; }
Property Value
TabStripAlignment
|
TabStripElement
Declaration
public RadPageViewStripElement TabStripElement { get; }
Property Value
RadPageViewStripElement
|
TabStripTextOrientation
Gets or sets the text orientation of the tab used to switch among child panels.
Declaration
public TabStripTextOrientation TabStripTextOrientation { get; set; }
Property Value
TabStripTextOrientation
|
TabStripVisible
Determines whether the tab used to navigate among child panels is displayed.
Declaration
public bool TabStripVisible { get; set; }
Property Value
System.Boolean
|
Visible
Declaration
public bool Visible { get; set; }
Property Value
System.Boolean
|
Methods
CreateChildItems(RadElement)
Declaration
protected override void CreateChildItems(RadElement parent)
Parameters
RadElement
parent
|
Overrides
CreateControlsInstance()
Declaration
protected override Control.ControlCollection CreateControlsInstance()
Returns
System.Windows.Forms.Control.ControlCollection
|
CreateTabItem(TabPanel)
Declaration
protected virtual TabStripItem CreateTabItem(TabPanel tabPanel)
Parameters
TabPanel
tabPanel
|
Returns
TabStripItem
|
CreateTabStripElementInstance()
Declaration
protected virtual RadPageViewTabStripElement CreateTabStripElementInstance()
Returns
RadPageViewTabStripElement
|
DeselectTab(Int32)
Declaration
public void DeselectTab(int index)
Parameters
System.Int32
index
|
DeselectTab(String)
Declaration
public void DeselectTab(string tabPanelName)
Parameters
System.String
tabPanelName
|
DeselectTab(TabPanel)
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
System.Boolean
disposing
|
Overrides
GetTabStripVisible()
Determines whether the tabstrip element is visible.
Declaration
protected virtual bool GetTabStripVisible()
Returns
System.Boolean
|
IsInputKey(Keys)
Declaration
protected override bool IsInputKey(Keys keyData)
Parameters
System.Windows.Forms.Keys
keyData
|
Returns
System.Boolean
|
Overrides
OnDragInitialized(Point)
Declaration
protected virtual void OnDragInitialized(Point mouse)
Parameters
System.Drawing.Point
mouse
|
OnHandleCreated(EventArgs)
Declaration
protected override void OnHandleCreated(EventArgs e)
Parameters
System.EventArgs
e
|
OnLayout(LayoutEventArgs)
Declaration
protected override void OnLayout(LayoutEventArgs e)
Parameters
System.Windows.Forms.LayoutEventArgs
e
|
Overrides
OnMouseCaptureChanged(EventArgs)
Declaration
protected override void OnMouseCaptureChanged(EventArgs e)
Parameters
System.EventArgs
e
|
Overrides
OnMouseDown(MouseEventArgs)
Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
|
Overrides
OnMouseMove(MouseEventArgs)
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
|
Overrides
OnSelectedIndexChanged(EventArgs)
Declaration
protected virtual void OnSelectedIndexChanged(EventArgs e)
Parameters
System.EventArgs
e
|
OnSelectedIndexChanging(TabStripPanelSelectedIndexChangingEventArgs)
Declaration
protected virtual void OnSelectedIndexChanging(TabStripPanelSelectedIndexChangingEventArgs e)
Parameters
TabStripPanelSelectedIndexChangingEventArgs
e
|
OnTabCloseButtonClicked(TabStripItem)
Handles the click of a CloseButton on a child TabStripItem. Closes the corresponding TabPanel by default.
Declaration
protected virtual void OnTabCloseButtonClicked(TabStripItem item)
Parameters
TabStripItem
item
|
OnTabStripAlignmentChanged(EventArgs)
Declaration
protected virtual void OnTabStripAlignmentChanged(EventArgs e)
Parameters
System.EventArgs
e
|
OnTabStripTextOrientationChanged(EventArgs)
Declaration
protected virtual void OnTabStripTextOrientationChanged(EventArgs e)
Parameters
System.EventArgs
e
|
OnThemeChanged()
ResumeStripNotifications(Boolean, Boolean)
Resumes previously suspended notifications like TabSelecting and TabSelected from the parented RadTabStripElement. This method is used internally.
Declaration
public void ResumeStripNotifications(bool itemsChanged, bool selection)
Parameters
System.Boolean
itemsChanged
|
System.Boolean
selection
|
SelectTab(Int32)
Declaration
public bool SelectTab(int index)
Parameters
System.Int32
index
|
Returns
System.Boolean
|
SelectTab(String)
Declaration
public bool SelectTab(string tabPanelName)
Parameters
System.String
tabPanelName
|
Returns
System.Boolean
|
SelectTab(TabPanel)
Declaration
public bool SelectTab(TabPanel tabPanel)
Parameters
TabPanel
tabPanel
|
Returns
System.Boolean
|
SuspendStripNotifications(Boolean, Boolean)
Temporary suspends notifications like TabSelecting and TabSelected from the parented RadTabStripElement. This method is used internally.
Declaration
public void SuspendStripNotifications(bool suspendItemsChanged, bool suspendSelectionChanged)
Parameters
System.Boolean
suspendItemsChanged
|
System.Boolean
suspendSelectionChanged
|
ToString()
Declaration
public override string ToString()
Returns
System.String
|
UpdateActivePanelBounds()
Declaration
protected virtual void UpdateActivePanelBounds()
UpdateAfterControlRemoved(Control)
Callback to notify the panel that a control has been successfully removed, tab strip has been updated and any additional update is allowed.
Declaration
protected virtual void UpdateAfterControlRemoved(Control value)
Parameters
System.Windows.Forms.Control
value
|
UpdateLayout()
Forces layout update by explicitly re-setting the current bounds and performing a layout pass.
Declaration
protected virtual void UpdateLayout()
UpdateTabSelection(Boolean)
Declaration
public virtual void UpdateTabSelection(bool updateFocus)
Parameters
System.Boolean
updateFocus
|
UpdateTabStripVisibility(Boolean)
Declaration
protected virtual void UpdateTabStripVisibility(bool visible)
Parameters
System.Boolean
visible
|
Events
SelectedIndexChanged
Declaration
public event EventHandler SelectedIndexChanged
Event Type
System.EventHandler
|
SelectedIndexChanging
Declaration
public event TabStripPanelSelectedIndexChangingEventHandler SelectedIndexChanging
Event Type
TabStripPanelSelectedIndexChangingEventHandler
|