GroupBoxExtensions
Wisej.Web.Markup.GroupBoxExtensions
Namespace: Wisej.Web.Markup
Assembly: Wisej.Framework (4.0.0.0)
Adds fluent markup extension methods to the GroupBox class.
public class GroupBoxExtensionsPublic Class GroupBoxExtensionsMethods
AllowHtml<TGroupBox>(groupBox, value)
Sets the AllowHtml property of the specified GroupBox.
Returns: TGroupBox. The modified group box with the updated AllowHtml property.
This method allows you to enable or disable HTML content in the group box.
myGroupBox.AllowHtml(true);
AutoSizeMode<TGroupBox>(groupBox, mode)
Sets the AutoSizeMode property of the specified GroupBox.
Returns: TGroupBox. The modified group box with the updated AutoSizeMode property.
This method allows you to specify the automatic sizing behavior of the group box.
Checked<TGroupBox>(groupBox, value)
Sets the Checked property of the specified GroupBox.
Returns: TGroupBox. The modified group box with the updated Checked property.
This method allows you to specify whether the group box is checked.
Collapsed<TGroupBox>(groupBox, collapsed)
Sets the Collapsed property of the specified GroupBox.
Returns: TGroupBox. The modified group box with the updated Collapsed property.
This method allows you to specify whether the group box is collapsed.
OnCheckedChanged<TGroupBox>(groupBox, action)
Attaches an event handler for the CheckedChanged event of the specified GroupBox.
Returns: TGroupBox. The modified group box with the attached CheckedChanged event handler.
This method allows you to execute a custom action whenever the checked state of the group box changes.
OnGroupBoxCollapsed<TGroupBox>(groupBox, action)
Attaches an event handler for the GroupBoxCollapsed event of the specified GroupBox.
Returns: TGroupBox. The modified group box with the attached GroupBoxCollapsed event handler.
This method allows you to execute a custom action whenever the group box is collapsed.
OnGroupBoxExpanded<TGroupBox>(groupBox, action)
Attaches an event handler for the GroupBoxExpanded event of the specified GroupBox.
Returns: TGroupBox. The modified group box with the attached GroupBoxExpanded event handler.
This method allows you to execute a custom action whenever the group box is expanded.
RestoreBounds<TGroupBox>(groupBox, bounds)
Sets the RestoreBounds property of the specified GroupBox.
Returns: TGroupBox. The modified group box with the updated RestoreBounds property.
This method allows you to specify the restore bounds of the group box.
RightToLeftLayout<TGroupBox>(groupBox, value)
Sets the RightToLeftLayout property of the specified GroupBox.
Returns: TGroupBox. The modified group box with the updated RightToLeftLayout property.
This method allows you to specify whether the layout of the group box is right-to-left.
RightToLeftLayoutChanged<TGroupBox>(groupBox, action)
Attaches an event handler for the RightToLeftLayoutChanged event of the specified GroupBox.
TGroupBox
The type of the group box, must inherit from GroupBox and have a RightToLeftLayoutChanged event.
Returns: TGroupBox. The modified group box with the attached RightToLeftLayoutChanged event handler.
This method allows you to execute a custom action whenever the right-to-left layout of the group box changes.
ShowCheckBox<TGroupBox>(groupBox, value)
Sets the ShowCheckBox property of the specified GroupBox.
Returns: TGroupBox. The modified group box with the updated ShowCheckBox property.
This method allows you to specify whether the group box shows a checkbox.
ShowCloseButton<TGroupBox>(groupBox, value)
Sets the ShowCloseButton property of the specified GroupBox.
Returns: TGroupBox. The modified group box with the updated ShowCloseButton property.
This method allows you to specify whether the group box shows a close button.
UseMnemonic<TGroupBox>(groupBox, value)
Sets the UseMnemonic property of the specified GroupBox.
Returns: TGroupBox. The modified group box with the updated UseMnemonic property.
This method allows you to enable or disable the use of mnemonic characters in the group box's text.
Last updated
Was this helpful?

