|
|
|
|
ClientArea Property, SftTabs Class |
Defines whether the control provides a client area for tab pages.
Syntax SftTabs Class (Softelvdm.SftTabsNET)
VB |
Public Property ClientArea As Boolean |
C# |
public bool ClientArea { get; set; } |
C++ |
public: property bool ClientArea { |
Property Value
True if the control has a client area which can contain tab pages, False otherwise.
The default value is True.
Comments
The ClientArea property defines whether the control provides a client area for tab pages.
A tab control can optionally contain a client area. The client area is used to display controls associated with a tab.
Certain tab styles (see Style) do not support a client area. The StyleInfo property can be used to determine if a tab style supports a client area.
The client area cannot be removed if any of the tabs have associated controls.
If a client area is available, controls can be added to the tab control at design-time. As the user switches between tabs, the controls associated with each tab are shown or hidden. As controls are hidden because their associated tab is not the current tab, the controls are not only hidden, but also disabled. This is fully automatic and requires no application intervention.
The tab order of the controls contained within the client area (or current tab page) is defined using the TabIndex property.