Contains extension methods for Panel.
Methods
public static Panel Header(Panel panel, string text, Justify? alignment = default)
Sets the panel header.
Parameters:
panel (Panel)The panel.
text (string)The header text.
alignment (Justify?)The header alignment.
Returns:
The same instance so that multiple calls can be chained.
public static Panel Header(Panel panel, PanelHeader header)
Sets the panel header.
Parameters:
panel (Panel)The panel.
header (PanelHeader)The header to use.
Returns:
The same instance so that multiple calls can be chained.
public static Panel HeaderAlignment(Panel panel, Justify alignment)
Sets the panel header alignment.
Parameters:
panel (Panel)The panel.
alignment (Justify)The header alignment.
Returns:
The same instance so that multiple calls can be chained.