INavigationViewItem interface¶
Defined in
Namespace: CrissCross.WPF.UI.Controls
Assembly: CrissCross.WPF.UI.dll
Full name: CrissCross.WPF.UI.Controls.INavigationViewItem
Modifiers: public abstract
Summary¶
Represents the container for an item in a NavigationView control.
Applies to
net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481
Properties¶
| Name | Summary |
|---|---|
| Id | Gets unique identifier that allows the item to be located in the navigation. |
| Content | Gets or sets get or sets content. |
| Icon | Gets or sets the icon displayed in the MenuItem object. |
| MenuItems | Gets the collection of menu items displayed in the NavigationView. |
| MenuItemsSource | Gets or sets an object source used to generate the content of the NavigationView menu. |
| IsActive | Gets a value indicating whether gets information whether the current element is active. |
| IsExpanded | Gets or sets a value indicating whether gets information whether the sub-[MenuItems](# are expanded. |
| TargetPageTag | Gets or sets a unique tag used by the parent navigation system for the purpose of searching and navigating. |
| TargetPageType | Gets or sets the type of the page to be navigated. (Should be derived from FrameworkElement). |
| TargetViewModelType | Gets or sets the target ViewModel type for ViewModel-first navigation. When set this takes precedence over TargetPageType. |
| TargetHostName | Gets or sets an optional host name (navigation host) to target when using ViewModel-first navigation. Leave empty to use the first registered host. |
| InfoBadge | Gets or sets the information badge. |
| NavigationCacheMode | Gets or sets specifies caching characteristics for a page involved in a navigation. |
| Template | Gets or sets template Property. |
| NavigationViewItemParent | Gets or sets parent if in [MenuItems](# collection. |
Methods¶
| Name | Summary |
|---|---|
| Activate | Correctly activates. |
| Deactivate | Correctly deactivates. |
Events¶
| Name | Summary |
|---|---|
| Click | Add / Remove ClickEvent handler. |