Interface IUILabel
A component that displays a text.
Inherited Members
Namespace: DevToys.Api
Assembly: DevToys.Api.dll
Syntax
public interface IUILabel : IUIElement
Properties
AutoWrap
Gets whether the text can wrap if it can't fit within the available horizontal space. Default is true.
Declaration
bool AutoWrap { get; }
Property Value
Type | Description |
---|---|
bool |
Style
Gets the style of the text. Default value is Body.
Declaration
UILabelStyle Style { get; }
Property Value
Type | Description |
---|---|
UILabelStyle |
Text
Gets the text to display.
Declaration
string? Text { get; }
Property Value
Type | Description |
---|---|
string |
Events
AutoWrapChanged
Raised when AutoWrap is changed.
Declaration
event EventHandler? AutoWrapChanged
Event Type
Type | Description |
---|---|
EventHandler |
StyleChanged
Raised when Style is changed.
Declaration
event EventHandler? StyleChanged
Event Type
Type | Description |
---|---|
EventHandler |
TextChanged
Raised when Text is changed.
Declaration
event EventHandler? TextChanged
Event Type
Type | Description |
---|---|
EventHandler |