NavigationView
NavigationView
NavigationView
NavigationView
Class
Definition
Some information relates to pre-released product which may be substantially modified before it’s commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Prerelease APIs are identified by a Prerelease label.
[Contains prerelease APIs.]
Represents a container that enables navigation of app content. It has a header, a view for the main content, and a menu pane for navigation commands.
public : class NavigationView : ContentControl, INavigationViewpublic class NavigationView : ContentControl, INavigationViewPublic Class NavigationView Inherits ContentControl Implements INavigationView// You can use this class in JavaScript.
<NavigationView .../>
- Inheritance
-
NavigationViewNavigationViewNavigationViewNavigationView
- Attributes
| Device family |
Windows 10 Insider Preview (introduced v10.0.16257.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v5)
|
Inherited Members
Inherited properties
Inherited events
Inherited methods
Constructors
Properties
AlwaysShowHeader AlwaysShowHeader AlwaysShowHeader AlwaysShowHeader
Prerelease. Gets or sets a value that indicates whether the header is always visible.
public : PlatForm::Boolean AlwaysShowHeader { get; set; }public bool AlwaysShowHeader { get; set; }Public ReadWrite Property AlwaysShowHeader As bool// You can use this property in JavaScript.
<NavigationView AlwaysShowHeader="bool" .../>
- Value
- PlatForm::Boolean bool bool bool
true if the header is always visible; otherwise, false.
AlwaysShowHeaderProperty AlwaysShowHeaderProperty AlwaysShowHeaderProperty AlwaysShowHeaderProperty
Prerelease. Identifies the AlwaysShowHeader dependency property.
public : static DependencyProperty AlwaysShowHeaderProperty { get; }public static DependencyProperty AlwaysShowHeaderProperty { get; }Public Static ReadOnly Property AlwaysShowHeaderProperty As DependencyProperty// You can use this property in JavaScript.
The identifier for the AlwaysShowHeader dependency property.
AutoSuggestBox AutoSuggestBox AutoSuggestBox AutoSuggestBox
Prerelease. Gets or sets an AutoSuggestBox to be displayed in the NavigationView.
public : AutoSuggestBox AutoSuggestBox { get; set; }public AutoSuggestBox AutoSuggestBox { get; set; }Public ReadWrite Property AutoSuggestBox As AutoSuggestBox// You can use this property in JavaScript.
<NavigationView>
<NavigationView.AutoSuggestBox>
<AutoSuggestBox .../>
</NavigationView.AutoSuggestBox>
</NavigationView>
An AutoSuggestBox box to be displayed in the NavigationView.
AutoSuggestBoxProperty AutoSuggestBoxProperty AutoSuggestBoxProperty AutoSuggestBoxProperty
Prerelease. Identifies the AutoSuggestBox dependency property.
public : static DependencyProperty AutoSuggestBoxProperty { get; }public static DependencyProperty AutoSuggestBoxProperty { get; }Public Static ReadOnly Property AutoSuggestBoxProperty As DependencyProperty// You can use this property in JavaScript.
The identifier for the AutoSuggestBox dependency property.
CompactModeThresholdWidth CompactModeThresholdWidth CompactModeThresholdWidth CompactModeThresholdWidth
Prerelease. Gets or sets the minimum window width at which the NavigationView enters Compact display mode.
public : double CompactModeThresholdWidth { get; set; }public double CompactModeThresholdWidth { get; set; }Public ReadWrite Property CompactModeThresholdWidth As double// You can use this property in JavaScript.
<NavigationView CompactModeThresholdWidth="double" .../>
- Value
- double double double double
The minimum window width at which the NavigationView enters Compact display mode. The default is 641 pixels.
CompactModeThresholdWidthProperty CompactModeThresholdWidthProperty CompactModeThresholdWidthProperty CompactModeThresholdWidthProperty
Prerelease. Identifies the CompactModeThresholdWidth dependency property.
public : static DependencyProperty CompactModeThresholdWidthProperty { get; }public static DependencyProperty CompactModeThresholdWidthProperty { get; }Public Static ReadOnly Property CompactModeThresholdWidthProperty As DependencyProperty// You can use this property in JavaScript.
The identifier for the CompactModeThresholdWidth dependency property.
CompactPaneLength CompactPaneLength CompactPaneLength CompactPaneLength
Prerelease. Gets or sets the width of the NavigationView pane in its compact display mode.
public : double CompactPaneLength { get; set; }public double CompactPaneLength { get; set; }Public ReadWrite Property CompactPaneLength As double// You can use this property in JavaScript.
<NavigationView CompactPaneLength="double" .../>
- Value
- double double double double
The width of the pane in its compact display mode. The default is 48 device-independent pixel (DIP).
Remarks
This property specifies the width of the pane when DisplayMode is Compact and IsPaneOpen is false.
CompactPaneLengthProperty CompactPaneLengthProperty CompactPaneLengthProperty CompactPaneLengthProperty
Prerelease. Identifies the CompactPaneLength dependency property.
public : static DependencyProperty CompactPaneLengthProperty { get; }public static DependencyProperty CompactPaneLengthProperty { get; }Public Static ReadOnly Property CompactPaneLengthProperty As DependencyProperty// You can use this property in JavaScript.
The identifier for the CompactPaneLength dependency property.
DisplayMode DisplayMode DisplayMode DisplayMode
Prerelease. Gets of sets a value that specifies how the pane and content areas of a NavigationView are shown.
public : NavigationViewDisplayMode DisplayMode { get; }public NavigationViewDisplayMode DisplayMode { get; }Public ReadOnly Property DisplayMode As NavigationViewDisplayMode// You can use this property in JavaScript.
<NavigationView DisplayMode="displayModeName" .../>
- Value
- NavigationViewDisplayMode NavigationViewDisplayMode NavigationViewDisplayMode NavigationViewDisplayMode
A value of the enumeration that specifies how the pane and content areas of a NavigationView are shown.
DisplayModeProperty DisplayModeProperty DisplayModeProperty DisplayModeProperty
Prerelease. Identifies the DisplayMode dependency property.
public : static DependencyProperty DisplayModeProperty { get; }public static DependencyProperty DisplayModeProperty { get; }Public Static ReadOnly Property DisplayModeProperty As DependencyProperty// You can use this property in JavaScript.
The identifier for the DisplayMode dependency property.
ExpandedModeThresholdWidth ExpandedModeThresholdWidth ExpandedModeThresholdWidth ExpandedModeThresholdWidth
Prerelease. Gets or sets the minimum window width at which the NavigationView enters Expanded display mode.
public : double ExpandedModeThresholdWidth { get; set; }public double ExpandedModeThresholdWidth { get; set; }Public ReadWrite Property ExpandedModeThresholdWidth As double// You can use this property in JavaScript.
<NavigationView ExpandedModeThresholdWidth="double" .../>
- Value
- double double double double
The minimum window width at which the NavigationView enters Expanded display mode. The default is 1008 pixels.
ExpandedModeThresholdWidthProperty ExpandedModeThresholdWidthProperty ExpandedModeThresholdWidthProperty ExpandedModeThresholdWidthProperty
Prerelease. Identifies the ExpandedModeThresholdWidth dependency property.
public : static DependencyProperty ExpandedModeThresholdWidthProperty { get; }public static DependencyProperty ExpandedModeThresholdWidthProperty { get; }Public Static ReadOnly Property ExpandedModeThresholdWidthProperty As DependencyProperty// You can use this property in JavaScript.
The identifier for the ExpandedModeThresholdWidth dependency property.
Header Header Header Header
Prerelease. Gets or sets the header content.
public : PlatForm::Object Header { get; set; }public object Header { get; set; }Public ReadWrite Property Header As object// You can use this property in JavaScript.
<NavigationView Header="headerString"/>
- Value
- PlatForm::Object object object object
The header content for the NavigationView.
HeaderProperty HeaderProperty HeaderProperty HeaderProperty
Prerelease. Identifies the Header dependency property.
public : static DependencyProperty HeaderProperty { get; }public static DependencyProperty HeaderProperty { get; }Public Static ReadOnly Property HeaderProperty As DependencyProperty// You can use this property in JavaScript.
The identifier for the Header dependency property.
HeaderTemplate HeaderTemplate HeaderTemplate HeaderTemplate
Prerelease. Gets or sets the DataTemplate used to display the control's header.
public : DataTemplate HeaderTemplate { get; set; }public DataTemplate HeaderTemplate { get; set; }Public ReadWrite Property HeaderTemplate As DataTemplate// You can use this property in JavaScript.
<NavigationView HeaderTemplate="resourceReferenceToDataTemplate"/>
The DataTemplate used to display the control's header.
HeaderTemplateProperty HeaderTemplateProperty HeaderTemplateProperty HeaderTemplateProperty
Prerelease. Identifies the HeaderTemplate dependency property.
public : static DependencyProperty HeaderTemplateProperty { get; }public static DependencyProperty HeaderTemplateProperty { get; }Public Static ReadOnly Property HeaderTemplateProperty As DependencyProperty// You can use this property in JavaScript.
The identifier for the HeaderTemplate dependency property.
IsPaneOpen IsPaneOpen IsPaneOpen IsPaneOpen
Prerelease. Gets or sets a value that specifies whether the NavigationView pane is expanded to its full width.
public : PlatForm::Boolean IsPaneOpen { get; set; }public bool IsPaneOpen { get; set; }Public ReadWrite Property IsPaneOpen As bool// You can use this property in JavaScript.
<NavigationView IsPaneOpen="bool" .../>
- Value
- PlatForm::Boolean bool bool bool
true if the pane is expanded to its full width; otherwise, false.
IsPaneOpenProperty IsPaneOpenProperty IsPaneOpenProperty IsPaneOpenProperty
Prerelease. Identifies the IsPaneOpen dependency property.
public : static DependencyProperty IsPaneOpenProperty { get; }public static DependencyProperty IsPaneOpenProperty { get; }Public Static ReadOnly Property IsPaneOpenProperty As DependencyProperty// You can use this property in JavaScript.
The identifier for the IsPaneOpen dependency property.
IsPaneToggleButtonVisible IsPaneToggleButtonVisible IsPaneToggleButtonVisible IsPaneToggleButtonVisible
Prerelease. Gets or sets a value that indicates whether the menu toggle button is shown.
public : PlatForm::Boolean IsPaneToggleButtonVisible { get; set; }public bool IsPaneToggleButtonVisible { get; set; }Public ReadWrite Property IsPaneToggleButtonVisible As bool// You can use this property in JavaScript.
<NavigationView IsPaneToggleButtonVisible="bool" .../>
- Value
- PlatForm::Boolean bool bool bool
true if the menu button is shown; otherwise, false. The default is true.
IsPaneToggleButtonVisibleProperty IsPaneToggleButtonVisibleProperty IsPaneToggleButtonVisibleProperty IsPaneToggleButtonVisibleProperty
Prerelease. Identifies the IsPaneToggleButtonVisible dependency property.
public : static DependencyProperty IsPaneToggleButtonVisibleProperty { get; }public static DependencyProperty IsPaneToggleButtonVisibleProperty { get; }Public Static ReadOnly Property IsPaneToggleButtonVisibleProperty As DependencyProperty// You can use this property in JavaScript.
The identifier for the IsPaneToggleButtonVisible dependency property.
IsSettingsVisible IsSettingsVisible IsSettingsVisible IsSettingsVisible
Prerelease. Gets or sets a value that indicates whether the settings button is shown.
public : PlatForm::Boolean IsSettingsVisible { get; set; }public bool IsSettingsVisible { get; set; }Public ReadWrite Property IsSettingsVisible As bool// You can use this property in JavaScript.
<NavigationView IsSettingsVisible="bool" .../>
- Value
- PlatForm::Boolean bool bool bool
true if the settings button is shown; otherwise, false. The default is true.
IsSettingsVisibleProperty IsSettingsVisibleProperty IsSettingsVisibleProperty IsSettingsVisibleProperty
Prerelease. Identifies the IsSettingsVisible dependency property.
public : static DependencyProperty IsSettingsVisibleProperty { get; }public static DependencyProperty IsSettingsVisibleProperty { get; }Public Static ReadOnly Property IsSettingsVisibleProperty As DependencyProperty// You can use this property in JavaScript.
The identifier for the IsSettingsVisible dependency property.
MenuItemContainerStyle MenuItemContainerStyle MenuItemContainerStyle MenuItemContainerStyle
Prerelease. Gets or sets the style that is used when rendering the menu item containers.
public : Style MenuItemContainerStyle { get; set; }public Style MenuItemContainerStyle { get; set; }Public ReadWrite Property MenuItemContainerStyle As Style// You can use this property in JavaScript.
<NavigationView>
<NavigationView.MenuItemContainerStyle>
inlineStyle
</NavigationView.MenuItemContainerStyle>
</NavigationView>
MenuItemContainerStyleProperty MenuItemContainerStyleProperty MenuItemContainerStyleProperty MenuItemContainerStyleProperty
Prerelease. Identifies the MenuItemContainerStyle dependency property.
public : static DependencyProperty MenuItemContainerStyleProperty { get; }public static DependencyProperty MenuItemContainerStyleProperty { get; }Public Static ReadOnly Property MenuItemContainerStyleProperty As DependencyProperty// You can use this property in JavaScript.
The identifier for the MenuItemContainerStyle dependency property.
MenuItemContainerStyleSelector MenuItemContainerStyleSelector MenuItemContainerStyleSelector MenuItemContainerStyleSelector
Prerelease. Gets or sets a reference to a custom StyleSelector logic class. The StyleSelector returns different Style values to use for the item container based on characteristics of the object being displayed.
public : StyleSelector MenuItemContainerStyleSelector { get; set; }public StyleSelector MenuItemContainerStyleSelector { get; set; }Public ReadWrite Property MenuItemContainerStyleSelector As StyleSelector// You can use this property in JavaScript.
<NavigationView MenuItemContainerStyleSelector="styleSelectorReference" />
A custom StyleSelector logic class.
MenuItemContainerStyleSelectorProperty MenuItemContainerStyleSelectorProperty MenuItemContainerStyleSelectorProperty MenuItemContainerStyleSelectorProperty
Prerelease. Identifies the MenuItemContainerStyleSelector dependency property.
public : static DependencyProperty MenuItemContainerStyleSelectorProperty { get; }public static DependencyProperty MenuItemContainerStyleSelectorProperty { get; }Public Static ReadOnly Property MenuItemContainerStyleSelectorProperty As DependencyProperty// You can use this property in JavaScript.
The identifier for the MenuItemContainerStyleSelector dependency property.
MenuItems MenuItems MenuItems MenuItems
Prerelease. Gets the collection of menu items displayed in the NavigationMenu.
public : IVector<NavigationMenuItemBase> MenuItems { get; }public IList<NavigationMenuItemBase> MenuItems { get; }Public ReadOnly Property MenuItems As IList<NavigationMenuItemBase>// You can use this property in JavaScript.
- Value
- IVector<NavigationMenuItemBase> IList<NavigationMenuItemBase> IList<NavigationMenuItemBase> IList<NavigationMenuItemBase>
The collection of menu items displayed in the NavigationMenu. The default is an empty collection.
MenuItemsProperty MenuItemsProperty MenuItemsProperty MenuItemsProperty
Prerelease. Identifies the MenuItems dependency property.
public : static DependencyProperty MenuItemsProperty { get; }public static DependencyProperty MenuItemsProperty { get; }Public Static ReadOnly Property MenuItemsProperty As DependencyProperty// You can use this property in JavaScript.
The identifier for the MenuItems dependency property.
MenuItemsSource MenuItemsSource MenuItemsSource MenuItemsSource
Prerelease. Gets or sets an object source used to generate the content of the NavigationView menu.
public : PlatForm::Object MenuItemsSource { get; set; }public object MenuItemsSource { get; set; }Public ReadWrite Property MenuItemsSource As object// You can use this property in JavaScript.
<NavigationView MenuItemsSource="bindingDeclaration"/>
-or-
<NavigationView MenuItemsSource="resourceReferenceToSource"/>
- Value
- PlatForm::Object object object object
The object that is used to generate the content of the NavigationView menu. The default is null.
MenuItemsSourceProperty MenuItemsSourceProperty MenuItemsSourceProperty MenuItemsSourceProperty
Prerelease. Identifies the MenuItemsSource dependency property.
public : static DependencyProperty MenuItemsSourceProperty { get; }public static DependencyProperty MenuItemsSourceProperty { get; }Public Static ReadOnly Property MenuItemsSourceProperty As DependencyProperty// You can use this property in JavaScript.
The identifier for the MenuItemsSource dependency property.
MenuItemTemplate MenuItemTemplate MenuItemTemplate MenuItemTemplate
Prerelease. Gets or sets the DataTemplate used to display each menu item.
public : DataTemplate MenuItemTemplate { get; set; }public DataTemplate MenuItemTemplate { get; set; }Public ReadWrite Property MenuItemTemplate As DataTemplate// You can use this property in JavaScript.
<NavigationMenu>
<NavigationMenu.MenuItemTemplate>
singleDataTemplate
</NavigationMenu.MenuItemTemplate>
</NavigationMenu>
The template that specifies the visualization of the menu data objects. The default is null.
MenuItemTemplateProperty MenuItemTemplateProperty MenuItemTemplateProperty MenuItemTemplateProperty
Prerelease. Identifies the MenuItemTemplate dependency property.
public : static DependencyProperty MenuItemTemplateProperty { get; }public static DependencyProperty MenuItemTemplateProperty { get; }Public Static ReadOnly Property MenuItemTemplateProperty As DependencyProperty// You can use this property in JavaScript.
The identifier for the MenuItemTemplate dependency property.
MenuItemTemplateSelector MenuItemTemplateSelector MenuItemTemplateSelector MenuItemTemplateSelector
Prerelease. Gets or sets a reference to a custom DataTemplateSelector logic class. The DataTemplateSelector referenced by this property returns a template to apply to items.
public : DataTemplateSelector MenuItemTemplateSelector { get; set; }public DataTemplateSelector MenuItemTemplateSelector { get; set; }Public ReadWrite Property MenuItemTemplateSelector As DataTemplateSelector// You can use this property in JavaScript.
<NavigationView MenuItemTemplateSelector="dataTemplateSelectorReference" />
A reference to a custom DataTemplateSelector logic class.
MenuItemTemplateSelectorProperty MenuItemTemplateSelectorProperty MenuItemTemplateSelectorProperty MenuItemTemplateSelectorProperty
Prerelease. Identifies the MenuItemTemplateSelector dependency property.
public : static DependencyProperty MenuItemTemplateSelectorProperty { get; }public static DependencyProperty MenuItemTemplateSelectorProperty { get; }Public Static ReadOnly Property MenuItemTemplateSelectorProperty As DependencyProperty// You can use this property in JavaScript.
The identifier for the MenuItemTemplateSelector dependency property.
OpenPaneLength OpenPaneLength OpenPaneLength OpenPaneLength
Prerelease. Gets or sets the width of the NavigationView pane when it's fully expanded.
public : double OpenPaneLength { get; set; }public double OpenPaneLength { get; set; }Public ReadWrite Property OpenPaneLength As double// You can use this property in JavaScript.
- Value
- double double double double
The width of the NavigationView pane when it's fully expanded. The default is 320 device-independent pixel (DIP).
OpenPaneLengthProperty OpenPaneLengthProperty OpenPaneLengthProperty OpenPaneLengthProperty
Prerelease. Identifies the OpenPaneLength dependency property.
public : static DependencyProperty OpenPaneLengthProperty { get; }public static DependencyProperty OpenPaneLengthProperty { get; }Public Static ReadOnly Property OpenPaneLengthProperty As DependencyProperty// You can use this property in JavaScript.
The identifier for the OpenPaneLength dependency property.
PaneFooter PaneFooter PaneFooter PaneFooter
Prerelease. Gets or sets the content for the pane footer.
public : UIElement PaneFooter { get; set; }public UIElement PaneFooter { get; set; }Public ReadWrite Property PaneFooter As UIElement// You can use this property in JavaScript.
<NavigationView>
<NavigationView.PaneFooter>
footerElement
</NavigationView.PaneFooter>
</NavigationView>
PaneFooterProperty PaneFooterProperty PaneFooterProperty PaneFooterProperty
Prerelease. Identifies the PaneFooter dependency property.
public : static DependencyProperty PaneFooterProperty { get; }public static DependencyProperty PaneFooterProperty { get; }Public Static ReadOnly Property PaneFooterProperty As DependencyProperty// You can use this property in JavaScript.
The identifier for the PaneFooter dependency property.
PaneToggleButtonStyle PaneToggleButtonStyle PaneToggleButtonStyle PaneToggleButtonStyle
Prerelease. Gets or sets the Style that defines the look of the menu toggle button.
public : Style PaneToggleButtonStyle { get; set; }public Style PaneToggleButtonStyle { get; set; }Public ReadWrite Property PaneToggleButtonStyle As Style// You can use this property in JavaScript.
<NavigationView PaneToggleButtonStyle="{StaticResource styleResourceKey}"/>
PaneToggleButtonStyleProperty PaneToggleButtonStyleProperty PaneToggleButtonStyleProperty PaneToggleButtonStyleProperty
Prerelease. Identifies the PaneToggleButtonStyle dependency property.
public : static DependencyProperty PaneToggleButtonStyleProperty { get; }public static DependencyProperty PaneToggleButtonStyleProperty { get; }Public Static ReadOnly Property PaneToggleButtonStyleProperty As DependencyProperty// You can use this property in JavaScript.
The identifier for the PaneToggleButtonStyle dependency property.
SelectedItem SelectedItem SelectedItem SelectedItem
Prerelease. Gets or sets the selected item.
public : PlatForm::Object SelectedItem { get; set; }public object SelectedItem { get; set; }Public ReadWrite Property SelectedItem As object// You can use this property in JavaScript.
<NavigationView SelectedItem="bindingReference" .../>
- Value
- PlatForm::Object object object object
The selected item. The default is null.
SelectedItemProperty SelectedItemProperty SelectedItemProperty SelectedItemProperty
Prerelease. Identifies the SelectedItem dependency property.
public : static DependencyProperty SelectedItemProperty { get; }public static DependencyProperty SelectedItemProperty { get; }Public Static ReadOnly Property SelectedItemProperty As DependencyProperty// You can use this property in JavaScript.
The identifier for the SelectedItem dependency property.
SettingsItem SettingsItem SettingsItem SettingsItem
Prerelease. Gets the navigation item that represents the entry point to app settings.
public : PlatForm::Object SettingsItem { get; }public object SettingsItem { get; }Public ReadOnly Property SettingsItem As object// You can use this property in JavaScript.
- Value
- PlatForm::Object object object object
The item that represents the entry point to app settings.
SettingsItemProperty SettingsItemProperty SettingsItemProperty SettingsItemProperty
Prerelease. Identifies the SettingsItem dependency property.
public : static DependencyProperty SettingsItemProperty { get; }public static DependencyProperty SettingsItemProperty { get; }Public Static ReadOnly Property SettingsItemProperty As DependencyProperty// You can use this property in JavaScript.
The identifier for the SettingsItem dependency property.
Methods
ContainerFromMenuItem(Object) ContainerFromMenuItem(Object) ContainerFromMenuItem(Object) ContainerFromMenuItem(Object)
Prerelease. Returns the container corresponding to the specified menu item.
public : DependencyObject ContainerFromMenuItem(PlatForm::Object item)public DependencyObject ContainerFromMenuItem(Object item)Public Function ContainerFromMenuItem(item As Object) As DependencyObject// You can use this method in JavaScript.
- item
- PlatForm::Object Object Object Object
The menu item to retrieve the container for.
A container that corresponds to the specified menu item, if the item has a container and exists in the collection; otherwise, null.
MenuItemFromContainer(DependencyObject) MenuItemFromContainer(DependencyObject) MenuItemFromContainer(DependencyObject) MenuItemFromContainer(DependencyObject)
Prerelease. Returns the item that corresponds to the specified, generated container.
public : PlatForm::Object MenuItemFromContainer(DependencyObject container)public object MenuItemFromContainer(DependencyObject container)Public Function MenuItemFromContainer(container As DependencyObject) As object// You can use this method in JavaScript.
The DependencyObject that corresponds to the item to be returned.
The contained item, or the container if it does not contain an item.
Events
DisplayModeChanged DisplayModeChanged DisplayModeChanged DisplayModeChanged
Prerelease. Occurs when the DisplayMode property changes.
public : event TypedEventHandler DisplayModeChanged<NavigationView, DisplayModeChangedEventArgs>public event TypedEventHandler DisplayModeChanged<NavigationView, DisplayModeChangedEventArgs>Public Event DisplayModeChanged<NavigationView, DisplayModeChangedEventArgs>// You can use this event in JavaScript.
<NavigationView DisplayModeChanged="eventhandler" />
ItemInvoked ItemInvoked ItemInvoked ItemInvoked
Prerelease. Occurs when an item in the menu receives an interaction such a a click or tap.
public : event TypedEventHandler ItemInvoked<NavigationView, NavigationViewItemInvokedEventArgs>public event TypedEventHandler ItemInvoked<NavigationView, NavigationViewItemInvokedEventArgs>Public Event ItemInvoked<NavigationView, NavigationViewItemInvokedEventArgs>// You can use this event in JavaScript.
<NavigationView ItemInvoked="eventhandler" />
SelectionChanged SelectionChanged SelectionChanged SelectionChanged
Prerelease. Occurs when the currently selected item changes.
public : event TypedEventHandler SelectionChanged<NavigationView, NavigationViewSelectionChangedEventArgs>public event TypedEventHandler SelectionChanged<NavigationView, NavigationViewSelectionChangedEventArgs>Public Event SelectionChanged<NavigationView, NavigationViewSelectionChangedEventArgs>// You can use this event in JavaScript.
<NavigationView SelectionChanged="eventhandler" />