Wisej.Web.Markup.PanelExtensions
Namespace: Wisej.Web.Markup
Assembly: Wisej.Framework (4.0.0.0)
Adds fluent markup extension methods to the Label class.
Sets the collapsed state of the panel.
TPanel
panel
The panel to modify.
value
A boolean value indicating whether the panel should be collapsed.
Returns: TPanel. The modified panel with the updated collapsed state.
Sets the side of the panel to collapse.
TPanel
panel
The panel to modify.
value
Returns: TPanel. The modified panel with the updated collapse side.
Sets the alignment of the panel's header.
TPanel
panel
The panel to modify.
value
Returns: TPanel. The modified panel with the updated header alignment.
Sets the background color of the panel's header.
TPanel
panel
The panel to modify.
value
Returns: TPanel. The modified panel with the updated header background color.
Sets the foreground color of the panel's header.
TPanel
panel
The panel to modify.
value
Returns: TPanel. The modified panel with the updated header foreground color.
Sets the position of the panel's header.
TPanel
panel
The panel to modify.
value
Returns: TPanel. The modified panel with the updated header position.
Sets the size of the panel's header.
TPanel
panel
The panel to modify.
value
An integer value representing the size of the header.
Returns: TPanel. The modified panel with the updated header size.
Registers an action to be executed when the panel is collapsed.
TPanel
panel
The panel to modify.
action
The action to execute when the panel is collapsed.
Returns: TPanel. The modified panel with the registered collapse action.
This method allows you to specify a custom action that will be triggered whenever the panel is collapsed.
Registers an action to be executed when the panel is expanded.
TPanel
panel
The panel to modify.
action
The action to execute when the panel is expanded.
Returns: TPanel. The modified panel with the registered expand action.
This method allows you to specify a custom action that will be triggered whenever the panel is expanded.
Sets the visibility of the panel's header.
TPanel
panel
The panel to modify.
value
A boolean value indicating whether the header should be visible.
Returns: TPanel. The modified panel with the updated header visibility.
The type of the panel, which must inherit from .
The type of the panel, which must inherit from .
The indicating which side of the panel to collapse.
The type of the panel, which must inherit from .
The indicating the alignment of the header.
The type of the panel, which must inherit from .
The representing the background color of the header.
The type of the panel, which must inherit from .
The representing the foreground color of the header.
The type of the panel, which must inherit from .
The indicating the position of the header.
The type of the panel, which must inherit from .
The type of the panel, which must inherit from .
The type of the panel, which must inherit from .
The type of the panel, which must inherit from .