public sealed class LinkText that goes somewhere when it is activated.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
⚠ Nothing here navigates. A link raises ClickEvent and carries a Href, and what that means is the application's — a URL to open, a document to switch to, an asset to reveal in a browser. A UI framework that shelled out to a system browser on click would be a UI framework that can open arbitrary URLs on behalf of a game's content, which is a security decision no widget should be making.
Activated by Enter rather than Space, which is what a link does everywhere: Space scrolls.
Fields and properties (4)
protected override string TagNameThe element name this type answers to when a caller does not choose one.
protected override AccessibleRole NativeRolepublic string? Hrefpublic static readonly UiPropertyKey HrefPropertyIdentity for Href.
Methods (1)
public void ClearHref()Unsets Href, so it takes its default or its ancestor's value again.
Used by (2)
- GalleryHelloUi
- AccessibilityTreeTestsVixen.Ui.Controls.Tests