public sealed class TextBlockA run of text.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
⚠ Called TextBlock rather than Text, and the reason is not taste. Vixen.Ui.Text is a namespace — the shaping, itemisation and line-breaking assembly — so a type called Vixen.Ui.Controls.Text would be ambiguous with it in every file that used both, which is every file that draws a string. WPF reached the same name from a different direction.
It carries its text directly rather than in a child, because it has nothing else to hold: an element with text measures itself and may not have children, and that is exactly what this is for.
Fields and properties (2)
protected override string TagNameThe element name this type answers to when a caller does not choose one.
protected override bool AcceptsFocusWhether the focus can rest on this kind of control at all.
Used by (30)
- ShellHelloUi
- DocumentBenchmarksVixen.Benchmarks.Ui
- MenuItemVixen.Ui.Controls
- PropertyGridVixen.Ui.Controls.Advanced
- PropertyGridTestsVixen.Ui.Controls.Advanced.Tests
- SurfaceTestsVixen.Ui.Controls.Tests
- AssetDrawerVixen.Editor.Inspector
- AssetPickerVixen.Editor.App
- AttachedVixen.Editor.App
- BuildSettingsViewVixen.Editor.App
- ChromeFixtureVixen.Editor.Ui.Tests
- ComponentDrawerVixen.Editor.Inspector
- ComponentsViewVixen.Editor.App
- CompositeTestsVixen.Editor.Inspector.Tests
- ConsoleViewVixen.Editor.Ui
- DialogServiceVixen.Editor.Ui
- DialogTestsVixen.Editor.Ui.Tests
- EditorApplicationVixen.Editor.App
- EditorShellTestsVixen.Editor.Ui.Tests
- ListDrawerVixen.Editor.Inspector
- MarkupBindingVixen.Editor.Inspector
- MarkupBindingTestsVixen.Editor.Inspector.Tests
- MessageLogViewVixen.Editor.Ui
- NestedDrawerVixen.Editor.Inspector
- PropertyFieldVixen.Editor.Inspector
- ReadOnlyDrawerVixen.Editor.Inspector
- ScriptsModuleVixen.Editor.Scripts
- UndoHistoryVixen.Editor.App
- ViewportChromeVixen.Editor.App
- WorkspaceTestsVixen.Editor.Ui.Tests