LabelExtensions
Wisej.Web.Markup.LabelExtensions
Last updated
Was this helpful?
Wisej.Web.Markup.LabelExtensions
Last updated
Was this helpful?
Namespace: Wisej.Web.Markup
Assembly: Wisej.Framework (4.0.0.0)
Adds extension methods to the class.
Sets the AllowHtml property of the specified .
TLabel
label
The label for which to set the AllowHtml property.
value
A boolean indicating whether HTML content is allowed in the label text.
Returns: . The modified label with the updated AllowHtml property.
This method allows you to enable or disable HTML content in the label text.
TLabel
label
The label for which to set the AllowMarkdown property.
value
A boolean indicating whether Markdown content is allowed in the label text.
This method allows you to enable or disable Markdown content in the label text.
TLabel
label
The label for which to set the AutoEllipsis property.
value
A boolean indicating whether ellipsis characters should be displayed for truncated text.
This method allows you to control whether ellipsis characters are shown when the text is truncated.
TLabel
label
The label for which to set the AutoSize property.
value
A boolean indicating whether the label should automatically resize itself to fit its content.
This method allows you to control whether the label should automatically resize itself based on its content.
TLabel
label
The label for which to set the AutoToolTip property.
value
A boolean indicating whether tooltips should be automatically shown for the label.
This method allows you to enable or disable automatic tooltips for the label.
TLabel
label
The label for which to set the BorderStyle property.
borderStyle
This method allows you to set the border style for the label.
TLabel
label
The label for which to set the CharacterCasing property.
characterCasing
This method allows you to control the character casing for the text displayed in the label.
TLabel
label
The label for which to set the SelfSize property.
value
A boolean indicating whether the label should automatically adjust its size.
This method allows you to specify whether the label should automatically adjust its size based on its content.
TLabel
label
The label for which to set the text alignment.
alignment
This method allows you to specify how the text is aligned within the label's bounds.
TLabel
label
The label for which to set the UseMnemonic property.
value
A boolean indicating whether mnemonic characters are used in the label text.
This method allows you to enable or disable the use of mnemonic characters in the label text.
The type of the label, must inherit from .
Sets the AllowMarkdown property of the specified .
The type of the label, must inherit from .
Returns: . The modified label with the updated AllowMarkdown property.
Sets the AutoEllipsis property of the specified .
The type of the label, must inherit from .
Returns: . The modified label with the updated AutoEllipsis property.
Sets the AutoSize property of the specified .
The type of the label, must inherit from .
Returns: . The modified label with the updated AutoSize property.
Sets the AutoToolTip property of the specified .
The type of the label, must inherit from .
Returns: . The modified label with the updated AutoToolTip property.
Sets the BorderStyle property of the specified .
The type of the label, must inherit from .
The value to set for the label.
Returns: . The modified label with the updated BorderStyle property.
Sets the CharacterCasing property of the specified .
The type of the label, must inherit from .
The value to set for the label text.
Returns: . The modified label with the updated CharacterCasing property.
Sets the SelfSize property of the specified .
The type of the label, must inherit from .
Returns: . The modified label with the updated SelfSize property.
Sets the text alignment for the specified control.
The type of the label, which must inherit from .
The alignment to be applied to the label's text, specified as a value.
Returns: . The label with the updated text alignment.
Sets the UseMnemonic property of the specified .
The type of the label, must inherit from .
Returns: . The modified label with the updated UseMnemonic property.