콘텐츠로 이동

NavigationListMarkupExtensions class

이 콘텐츠는 아직 번역되지 않았습니다.

Generated fluent setters and event subscriptions for NavigationList.

Guide: C# Markup guide

public static class NavigationListMarkupExtensions
name description
static ItemHeight<T>(…) Sets the minimum height of selectable Item rows; headers and separators self-size, and NaN (the default) resolves from the theme.
static ItemPadding<T>(…) Sets the padding around each row’s content; the default comes from the theme.
static OnItemInvoked<T>(…) Subscribes handler to ItemInvoked. Occurs when a selectable row is activated by click or Enter, before a click selects it; a handler that sets Handled keeps the selection as it is.
static OnSelectionChanged<T>(…) Subscribes handler to SelectionChanged. Occurs when the selection changes.
static SelectedIndex<T>(…) Sets the selected row index, or -1 for none; non-item rows are rejected.
static SelectedItem<T>(…) Sets the selected item object, or null.
static WithKindSelector<T>(…) Sets the per-item kind selector; null makes every row a selectable Item.