Class NavigationViewItem
Inheritance
System.Object
NavigationViewItem
Assembly: Telerik.Maui.Controls.dll
Syntax
public class NavigationViewItem : NavigationViewItemBase
Constructors
Declaration
public NavigationViewItem()
Fields
Declaration
public static readonly BindableProperty CommandParameterProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
Declaration
public static readonly BindableProperty CommandProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
Declaration
public static readonly BindableProperty ContentTemplateProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
Declaration
public static readonly BindableProperty ImageSourceProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
Declaration
public static readonly BindableProperty IsSelectableProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
Declaration
public static readonly BindableProperty IsSelectedProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
Identifies the Text property.
Declaration
public static readonly BindableProperty TextProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
Properties
Gets or sets a command to execute when the navigation item is clicked.
Declaration
public ICommand Command { get; set; }
Property Value
System.Windows.Input.ICommand
|
Gets or sets a parameter to command which is executed when the navigation item is clicked.
Declaration
public object CommandParameter { get; set; }
Property Value
Gets or sets the Microsoft.Maui.Controls.DataTemplate used to display the content.
Declaration
public DataTemplate ContentTemplate { get; set; }
Property Value
Microsoft.Maui.Controls.DataTemplate
|
Gets or sets the source of the image to display in the navigation item.
For more information see the Microsoft.Maui.Controls.ImageSource type.
Declaration
public ImageSource ImageSource { get; set; }
Property Value
Microsoft.Maui.Controls.ImageSource
|
Gets or sets a value indicating whether the navigation item is selectable.
Declaration
public bool IsSelectable { get; set; }
Property Value
Gets or sets a value indicating whether the navigation item is selected.
Declaration
public bool IsSelected { get; set; }
Property Value
Gets or sets the text to display in the navigation item.
Declaration
public string Text { get; set; }
Property Value
Events
Raised when the navigation item is clicked.
Declaration
public event EventHandler Clicked
Event Type
Declaration
public event EventHandler IsSelectedChanged
Event Type
Extension Methods