Vixen
02b45cc4
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 (3)

  • 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.

  • public IReadOnlyList<BreadcrumbItem> Steps

    The steps, in order from the root.

Events (1)

Methods (2)

  • 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.

Used by (2)

  • ShellHelloUi
  • SelectionTestsVixen.Ui.Controls.Tests