csharp
public sealed class BreadcrumbThe 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 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.
public IReadOnlyList<BreadcrumbItem> StepsThe steps, in order from the root.
Events (1)
public Action<Breadcrumb, BreadcrumbItem>? NavigatedRaised when a step is activated.
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