|
|
|
|
Visible Property, TabClass Class |
Defines whether the tab is visible.
Syntax TabClass Class (Softelvdm.SftTabsNET)
VB |
Public Property Visible As Boolean |
C# |
public bool Visible { get; set; } |
C++ |
public: property bool Visible { |
Property Value
True if the tab is visible, False otherwise.
The default value is True.
Comments
The Visible property defines whether the tab is visible.
A hidden tab is never displayed. All its associated controls are completely hidden also and the user cannot make the tab visible. Only the application can make a hidden tab visible. This is not equivalent to a tab that is currently not visible because the tab may have scrolled off the edge of the control. Such a tab still has a Visible property of True, but may currently not be visible to the end-user.
A hidden tab cannot be made the currently active tab. The Current property and the mouse and keyboard interface will not allow a hidden tab to become the active tab.
Hidden tabs are best used in situations where certain groups of users should not have access to all tabs of a tab control, without being aware that additional tabs may exist. Otherwise, disabling a tab is possible using the Enabled property. A disabled tab is still visible to the end user.