Skip to content

NavigationView.ContentSelector property

Gets or sets the selector mapping the selected item to its content element, which is cached per item.

public Func<object?, Element?>? ContentSelector { get; set; }

Prefer supplying this via the typed Items extension.

Fluent: .WithContentSelector(Func<Object, Element>)