Vixen
dd8b0a81
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. There are no generated boxes in this styling engine — no pseudo-elements — so the chevron between two steps has to be something. Making it a real Icon also means the last step does not have one, which a ::before on every item would have to undo with 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