Label class¶
Defined in
Namespace: CrissCross.Avalonia.UI.Controls
Assembly: CrissCross.Avalonia.UI.dll
Full name: CrissCross.Avalonia.UI.Controls.Label
Modifiers: public
Summary¶
Represents a lightweight text control for displaying non-editable text within a user interface.
Applies to
net10.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-browserwasm1.0, net9.0-desktop1.0, net8.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2, netstandard2.1, net471
Class hierarchy
classDiagram
class Label
class TextBlock
TextBlock <|-- Label
Inherits from: TextBlock
Remarks¶
Label is typically used to display static text or captions for other controls, such as input fields. Unlike editable text controls, Label does not support user interaction or text editing. It inherits all text formatting and layout capabilities from TextBlock, allowing customization of font, alignment, and other text properties.
Constructors¶
| Name | Summary |
|---|---|
| .ctor |