TabControlExtensions
Wisej.Web.Markup.TabControlExtensions
Last updated
Was this helpful?
Wisej.Web.Markup.TabControlExtensions
Last updated
Was this helpful?
Namespace: Wisej.Web.Markup
Assembly: Wisej.Framework (4.0.0.0)
Adds extension methods to the class.
Sets the Alignment property of the specified .
TTabControl
tabControl
The tab control for which to set the Alignment property.
alignment
Returns: . The modified tab control with the updated Alignment property.
This method allows you to specify the alignment of the tabs in the tab control.
TTabControl
tabControl
The tab control for which to set the BorderStyle property.
borderStyle
This method allows you to specify the border style of the tab control.
TTabControl
tabControl
The tab control for which to set the ItemSize property.
size
This method allows you to specify the size of each tab item in the tab control.
TTabControl
tabControl
The tab control to attach the event handler to.
action
An action to execute when a tab is deselected.
This method allows you to execute a custom action whenever a tab is deselected.
TTabControl
tabControl
The tab control to attach the event handler to.
action
An action to execute when a tab is being deselected.
This method allows you to execute a custom action whenever a tab is being deselected.
TTabControl
tabControl
The tab control to attach the event handler to.
action
An action to execute when a tab is selected.
This method allows you to execute a custom action whenever a tab is selected.
TTabControl
tabControl
The tab control to attach the event handler to.
action
An action to execute when a tab is being selected.
This method allows you to execute a custom action whenever a tab is being selected.
TTabControl
tabControl
The tab control for which to set the SelectedIndex property.
value
The index of the tab to select.
This method allows you to specify the index of the tab to select.
TTabControl
tabControl
The tab control for which to set the ShowToolTips property.
value
A boolean indicating whether tooltips are shown for the tabs.
This method allows you to enable or disable the display of tooltips for the tabs in the tab control.
TTabControl
tabControl
The tab control for which to set the SizeMode property.
sizeMode
This method allows you to specify the size mode of the tabs in the tab control.
TTabControl
tabControl
The tab control to which the tab pages should be added.
tabPages
This method allows you to add multiple tab pages to the tab control in one call.
The type of the tab control, must inherit from .
The to set for the tab control.
Sets the BorderStyle property of the specified .
The type of the tab control, must inherit from .
The to set for the tab control.
Returns: . The modified tab control with the updated BorderStyle property.
Sets the ItemSize property of the specified .
The type of the tab control, must inherit from .
The to set for each tab item.
Returns: . The modified tab control with the updated ItemSize property.
Attaches an event handler for the Deselected event of the specified .
The type of the tab control, must inherit from .
Returns: . The modified tab control with the attached Deselected event handler.
Attaches an event handler for the Deselecting event of the specified .
The type of the tab control, must inherit from .
Returns: . The modified tab control with the attached Deselecting event handler.
Attaches an event handler for the Selected event of the specified .
The type of the tab control, must inherit from .
Returns: . The modified tab control with the attached Selected event handler.
Attaches an event handler for the Selecting event of the specified .
The type of the tab control, must inherit from .
Returns: . The modified tab control with the attached Selecting event handler.
Sets the SelectedIndex property of the specified .
The type of the tab control, must inherit from .
Returns: . The modified tab control with the updated SelectedIndex property.
Sets the ShowToolTips property of the specified .
The type of the tab control, must inherit from .
Returns: . The modified tab control with the updated ShowToolTips property.
Sets the SizeMode property of the specified .
The type of the tab control, must inherit from .
The to set for the tab control.
Returns: . The modified tab control with the updated SizeMode property.
Adds the specified tab pages to the TabPages collection of the specified .
The type of the tab control, must inherit from .
An array of to add to the tab control.
Returns: . The modified tab control with the added tab pages.