StatusBarExtensions
Wisej.Web.Markup.StatusBarExtensions
Last updated
Was this helpful?
Wisej.Web.Markup.StatusBarExtensions
Last updated
Was this helpful?
Namespace: Wisej.Web.Markup
Assembly: Wisej.Framework (4.0.0.0)
Adds fluent markup extension methods to the StatusBar class.
public class StatusBarExtensions
Attaches an event handler for the PanelClick event of the specified StatusBar.
TStatusBar
statusBar
The status bar to attach the event handler to.
action
An action to execute when a panel in the status bar is clicked.
Returns: TStatusBar. The modified status bar with the attached PanelClick event handler.
This method allows you to execute a custom action whenever a panel in the status bar is clicked.
myStatusBar.OnPanelClick((sb, args) =>
{
AlertBox.Show("Panel clicked!");
});
Adds the specified panels to the Panels collection of the specified StatusBar.
TStatusBar
statusBar
The status bar to which the panels should be added.
panels
Returns: TStatusBar. The modified status bar with the added panels.
This method allows you to add multiple panels to the status bar in one call.
myStatusBar.Panels(panel1, panel2, panel3);
Sets the ShowPanels property of the specified StatusBar.
TStatusBar
statusBar
The status bar for which to set the ShowPanels property.
value
A boolean indicating whether panels are shown in the status bar.
Returns: TStatusBar. The modified status bar with the updated ShowPanels property.
This method allows you to enable or disable the display of panels in the status bar.
myStatusBar.ShowPanels(true);
Sets the SizingGrip property of the specified StatusBar.
TStatusBar
statusBar
The status bar for which to set the SizingGrip property.
value
A boolean indicating whether the sizing grip is shown on the status bar.
Returns: TStatusBar. The modified status bar with the updated SizingGrip property.
This method allows you to enable or disable the display of the sizing grip on the status bar.
myStatusBar.SizingGrip(true);
The type of the status bar, must inherit from .
The type of the status bar, must inherit from .
An array of to add to the status bar.
The type of the status bar, must inherit from .
The type of the status bar, must inherit from .