TabPageExtensions
Wisej.Web.Markup.TabPageExtensions
Namespace: Wisej.Web.Markup
Assembly: Wisej.Framework (4.0.0.0)
Adds fluent markup extension methods to the TabPage class.
public class TabPageExtensions
Methods
AllowHtml<TTabPage>(tabPage, value)

Sets the AllowHtml property of the specified TabPage.
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);
CharacterCasing<TTabPage>(tabPage, casing)

Sets the CharacterCasing property of the specified TabPage.
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);
HeaderBackColor<TTabPage>(tabPage, color)

Sets the HeaderBackColor property of the specified TabPage.
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);
HeaderForeColor<TTabPage>(tabPage, color)

Sets the HeaderForeColor property of the specified TabPage.
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);
Hidden<TTabPage>(tabPage, value)

Sets the Hidden property of the specified TabPage.
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);
ShowInVisibilityMenu<TTabPage>(tabPage, value)

Sets the ShowInVisibilityMenu property of the specified TabPage.
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);
TabBackColor<TTabPage>(tabPage, color)

Sets the TabBackColor property of the specified TabPage.
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);
TabForeColor<TTabPage>(tabPage, color)

Sets the TabForeColor property of the specified TabPage.
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);
UseMnemonic<TTabPage>(tabPage, value)

Sets the UseMnemonic property of the specified TabPage.
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);
Last updated
Was this helpful?