Wisej.Web.Markup.LabelExtensions
Namespace: Wisej.Web.Markup
Assembly: Wisej.Framework (4.0.0.0)
Adds fluent markup extension methods to the Label class.
Sets the text alignment for the specified Label control.
TLabel
The type of the label, which must inherit from .
label
The label for which to set the text alignment.
alignment
The alignment to be applied to the label's text, specified as a value.
Returns: TLabel. The label with the updated text alignment.
This method allows you to specify how the text is aligned within the label's bounds.