Class AutoDirection
Attached properties that make an existing Avalonia.Controls.TextBlock display an IIconGlyph with automatic right-to-left glyph selection. Prefer AutoDirectionFontIcon where the control is under your control; this is intended for text blocks inside templates that cannot be replaced.
Namespace: Singulink.UI.Icons.Avalonia
Assembly: Singulink.UI.Icons.Avalonia.dll
Syntax
public static class AutoDirection
Fields
| Name | Description |
|---|---|
| GlyphProperty | Defines the |
Methods
| Name | Description |
|---|---|
| GetGlyph(TextBlock) | Gets the icon displayed by the text block. |
| SetGlyph(TextBlock, IIconGlyph?) | Sets the icon displayed by the text block. |