[]
        
(Showing Draft Content)

C1.Framework.TabElement

TabElement Class

Tab pages are represented by TabPageElement elements in the tab.TabArea.Children collection.

Inheritance
TabElement
Implements
Namespace: C1.Framework
Assembly: C1.Win.4.8.dll
Syntax
public class TabElement : DockPanel, ISupportUia

Constructors

Name Description
TabElement()

Creates a new instance of TabElement

TabElement(Style)

Creates a new instance of TabElement with a given Style.

Properties

Name Description
HotkeyPrefix

Gets or sets HotkeyPrefix value used for show or hide mnemonics for tab headers.

SelectedTab

Gets or sets the selectedTab TabPageElement.

TabArea

Gets the RowPanel that contains the tabs.

TabPages

Gets the collection of TabPageElement elements that represent the tab pages.

Methods

Name Description
AddTab(TabPageElement)

Add new TabPageElement into TabElement

Clear()

Removes all tabs and content from the TabElement.

GetParentTab(Element)

Gets the TabPageElement that contains a given child element.

Layout(Graphics)

Layout this element based on its style and contents.

OnGotFocus(EventArgs)

Called by the host control when this Element receives the focus.

OnSelectedTabChanged()

Events

Name Description
SelectedTabChanged

Event raised when selected tab is changed.