Vixen
feb85697
csharp
public sealed class Breadcrumb

The path to where the user is.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

⚠ The separators are elements rather than a ::before. Written before generated boxes existed; they do now (#233), and the separators stay elements because a chevron is an Icon, which a string content cannot draw — and a real element lets the last step simply not have one, where a ::before would be undone by a :last-child rule.

Fields and properties (4)

  • protected override string TagName

    The element name this type answers to when a caller does not choose one.

  • protected override bool AcceptsFocus

    Whether the focus can rest on this kind of control at all.

  • protected override AccessibleRole NativeRole
  • public IReadOnlyList<BreadcrumbItem> Steps

    The steps, in order from the root.

Events (1)

Methods (3)

  • protected override void OnCreated()

    Builds whatever this element is made of, once, as it joins a document.

  • public BreadcrumbItem AddStep(string? label, string? value = null)

    Adds a step at the end of the trail.

  • protected override void OnChildAdded(UiElement child)

Used by (4)

  • GalleryHelloUi
  • AccessibilityTreeTestsVixen.Ui.Controls.Tests
  • NestedTagTestsVixen.Ui.Controls.Advanced.Tests
  • SelectionTestsVixen.Ui.Controls.Tests