TabPageExtensions
Wisej.Web.Markup.TabPageExtensions
Last updated
Was this helpful?
Wisej.Web.Markup.TabPageExtensions
Last updated
Was this helpful?
Namespace: Wisej.Web.Markup
Assembly: Wisej.Framework (4.0.0.0)
Adds fluent markup extension methods to the TabPage class.
public class TabPageExtensions
Sets the AllowHtml property of the specified TabPage.
TTabPage
tabPage
The tab page for which to set the AllowHtml property.
value
A boolean indicating whether HTML is allowed in the tab page.
Returns: TTabPage. The modified tab page with the updated AllowHtml property.
This method allows you to enable or disable HTML content in the tab page.
myTabPage.AllowHtml(true);
Sets the CharacterCasing property of the specified TabPage.
TTabPage
tabPage
The tab page for which to set the CharacterCasing property.
casing
Returns: TTabPage. The modified tab page with the updated CharacterCasing property.
This method allows you to specify the character casing for text in the tab page.
myTabPage.CharacterCasing(CharacterCasing.Upper);
Sets the HeaderBackColor property of the specified TabPage.
TTabPage
tabPage
The tab page for which to set the HeaderBackColor property.
color
Returns: TTabPage. The modified tab page with the updated HeaderBackColor property.
This method allows you to specify the background color of the tab header.
myTabPage.HeaderBackColor(Color.Gray);
Sets the HeaderForeColor property of the specified TabPage.
TTabPage
tabPage
The tab page for which to set the HeaderForeColor property.
color
Returns: TTabPage. The modified tab page with the updated HeaderForeColor property.
This method allows you to specify the foreground color of the tab header.
myTabPage.HeaderForeColor(Color.Black);
Sets the Hidden property of the specified TabPage.
TTabPage
tabPage
The tab page for which to set the Hidden property.
value
A boolean indicating whether the tab page is hidden.
Returns: TTabPage. The modified tab page with the updated Hidden property.
This method allows you to hide or show the tab page.
myTabPage.Hidden(true);
Sets the ShowInVisibilityMenu property of the specified TabPage.
TTabPage
tabPage
The tab page for which to set the ShowInVisibilityMenu property.
value
A boolean indicating whether the tab page is shown in the visibility menu.
Returns: TTabPage. The modified tab page with the updated ShowInVisibilityMenu property.
This method allows you to control whether the tab page appears in a visibility menu.
myTabPage.ShowInVisibilityMenu(true);
Sets the TabBackColor property of the specified TabPage.
TTabPage
tabPage
The tab page for which to set the TabBackColor property.
color
Returns: TTabPage. The modified tab page with the updated TabBackColor property.
This method allows you to specify the background color of the tab.
myTabPage.TabBackColor(Color.Blue);
Sets the TabForeColor property of the specified TabPage.
TTabPage
tabPage
The tab page for which to set the TabForeColor property.
color
Returns: TTabPage. The modified tab page with the updated TabForeColor property.
This method allows you to specify the foreground color of the tab.
myTabPage.TabForeColor(Color.White);
Sets the UseMnemonic property of the specified TabPage.
TTabPage
tabPage
The tab page for which to set the UseMnemonic property.
value
A boolean indicating whether mnemonic characters are used.
Returns: TTabPage. The modified tab page with the updated UseMnemonic property.
This method allows you to enable or disable the use of mnemonic characters in the tab page.
myTabPage.UseMnemonic(true);
The type of the tab page, must inherit from .
The type of the tab page, must inherit from .
The to set for the tab page.
The type of the tab page, must inherit from .
The to set as the header back color.
The type of the tab page, must inherit from .
The to set as the header fore color.
The type of the tab page, must inherit from .
The type of the tab page, must inherit from .
The type of the tab page, must inherit from .
The to set as the tab back color.
The type of the tab page, must inherit from .
The to set as the tab fore color.
The type of the tab page, must inherit from .