ClassTabStripPanel
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class TabStripPanel : SplitPanel, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, INotifyPropertyChanged, ISupportInitializeNotification, ISupportInitialize, IComponentTreeHandler, ILayoutHandler, IAnalyticsProvider
Inheritance: objectMarshalByRefObjectComponentControlScrollableControlRadControlSplitPanelTabStripPanel
Derived Classes:
Implements:
Inherited Members
Constructors
TabStripPanel()
Declaration
public TabStripPanel()
Fields
DisableSelection
Disables the selection in the strip panel.
SuspendFocusChange
Suspends the focus change in the strip panel.
Properties
DefaultTabStripAlignment
Gets the default alignment of the TabStripElement.
Declaration
protected virtual TabStripAlignment DefaultTabStripAlignment { get; }
Property Value
DefaultTabStripTextOrientation
Gets the default text orientation.
Declaration
protected virtual TabStripTextOrientation DefaultTabStripTextOrientation { get; }
Property Value
DragStart
Gets the point where the mouse was pressed and a drag operation has been instanciated.
Declaration
[Browsable(false)]
public Point DragStart { get; }
Property Value
HasVisibleTabPanels
Declaration
[Browsable(false)]
public bool HasVisibleTabPanels { get; }
Property Value
ImageList
This property is not relevant for this class.
Declaration
public override ImageList ImageList { get; set; }
Property Value
Overrides
SelectedIndex
Declaration
[Browsable(false)]
public int SelectedIndex { get; set; }
Property Value
SelectedTab
Declaration
[Browsable(false)]
public TabPanel SelectedTab { get; set; }
Property Value
ShowItemCloseButton
Determines whether each TabStripItem will display a CloseButton, which allows for explicit close of its corresponding panel.
ShowItemPinButton
Determines whether each TabStripItem will display a CloseButton, which allows for explicit close of its corresponding panel.
TabPanelBounds
Declaration
[Browsable(false)]
public virtual Rectangle TabPanelBounds { get; }
Property Value
TabPanels
Declaration
public TabPanelCollection TabPanels { get; }
Property Value
TabStripAlignment
Gets or sets the alignment of the tab used to switch among child panels.
Declaration
public TabStripAlignment TabStripAlignment { get; set; }
Property Value
TabStripElement
Declaration
[Browsable(false)]
public RadPageViewStripElement TabStripElement { get; }
Property Value
TabStripTextOrientation
Gets or sets the text orientation of the tab used to switch among child panels.
Declaration
public TabStripTextOrientation TabStripTextOrientation { get; set; }
Property Value
TabStripVisible
Determines whether the tab used to navigate among child panels is displayed.
Methods
CreateChildItems(RadElement)
Creates the main panel element and adds it in the root element.
Declaration
protected override void CreateChildItems(RadElement parent)
Parameters
parent
Overrides
CreateControlsInstance()
Declaration
protected override Control.ControlCollection CreateControlsInstance()
Returns
Overrides
CreateTabItem(TabPanel)
Declaration
protected virtual TabStripItem CreateTabItem(TabPanel tabPanel)
Parameters
tabPanel
Returns
CreateTabStripElementInstance()
Declaration
protected virtual RadPageViewTabStripElement CreateTabStripElementInstance()
Returns
DeselectTab(TabPanel)
Declaration
public void DeselectTab(TabPanel tabPanel)
Parameters
tabPanel
DeselectTab(string)
Declaration
public void DeselectTab(string tabPanelName)
Parameters
tabPanelName
Dispose(bool)
Declaration
protected override void Dispose(bool disposing)
Parameters
disposing
Overrides
GetTabStripVisible()
Determines whether the tabstrip element is visible.
OnDragInitialized(Point)
Declaration
protected virtual void OnDragInitialized(Point mouse)
Parameters
mouse
OnHandleCreated(EventArgs)
Declaration
protected override void OnHandleCreated(EventArgs e)
Parameters
e
Overrides
OnLayout(LayoutEventArgs)
Declaration
protected override void OnLayout(LayoutEventArgs e)
Parameters
e
Overrides
OnMouseCaptureChanged(EventArgs)
Declaration
protected override void OnMouseCaptureChanged(EventArgs e)
Parameters
e
Overrides
OnMouseDown(MouseEventArgs)
Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
e
Overrides
OnMouseMove(MouseEventArgs)
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
e
Overrides
OnSelectedIndexChanged(EventArgs)
Declaration
protected virtual void OnSelectedIndexChanged(EventArgs e)
Parameters
e
OnSelectedIndexChanging(TabStripPanelSelectedIndexChangingEventArgs)
Declaration
protected virtual void OnSelectedIndexChanging(TabStripPanelSelectedIndexChangingEventArgs e)
Parameters
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
item
OnTabStripAlignmentChanged(EventArgs)
Declaration
protected virtual void OnTabStripAlignmentChanged(EventArgs e)
Parameters
e
OnTabStripTextOrientationChanged(EventArgs)
Declaration
protected virtual void OnTabStripTextOrientationChanged(EventArgs e)
Parameters
e
OnThemeChanged()
Declaration
protected override void OnThemeChanged()
Overrides
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
value
UpdateLayout()
Forces layout update by explicitly re-setting the current bounds and performing a layout pass.
Declaration
protected virtual void UpdateLayout()
UpdateTabSelection(bool)
Declaration
public virtual void UpdateTabSelection(bool updateFocus)
Parameters
updateFocus
UpdateTabStripVisibility(bool)
Declaration
protected virtual void UpdateTabStripVisibility(bool visible)
Parameters
visible
Events
SelectedIndexChanged
Declaration
public event EventHandler SelectedIndexChanged
Event Value
SelectedIndexChanging
Declaration
public event TabStripPanelSelectedIndexChangingEventHandler SelectedIndexChanging
Event Value