NavigationViewItem
Represents a navigation item in the RadNavigationView control.
Definition
Namespace:Telerik.Maui.Controls.NavigationView
Assembly:Telerik.Maui.Controls.dll
Syntax:
public class NavigationViewItem : NavigationViewItemBase
Inheritance: objectNavigationViewItemBaseNavigationViewItem
Inherited Members
Constructors
public NavigationViewItem()
Fields
CommandParameterProperty
BindableProperty
Identifies the CommandParameter property.
public static readonly BindableProperty CommandParameterProperty
CommandProperty
BindableProperty
Identifies the Command property.
public static readonly BindableProperty CommandProperty
ContentTemplateProperty
BindableProperty
Identifies the ContentTemplate property.
public static readonly BindableProperty ContentTemplateProperty
ImageSourceProperty
BindableProperty
Identifies the ImageSource property.
public static readonly BindableProperty ImageSourceProperty
IsSelectableProperty
BindableProperty
Identifies the IsSelectable property.
public static readonly BindableProperty IsSelectableProperty
IsSelectedProperty
BindableProperty
Identifies the IsSelected property.
public static readonly BindableProperty IsSelectedProperty
TextProperty
BindableProperty
Identifies the Text property.
public static readonly BindableProperty TextProperty
Properties
Gets or sets a command to execute when the navigation item is clicked.
public ICommand Command { get; set; }
Gets or sets a parameter to command which is executed when the navigation item is clicked.
public object CommandParameter { get; set; }
ContentTemplate
DataTemplate
Gets or sets the DataTemplate used to display the content.
public DataTemplate ContentTemplate { get; set; }
ImageSource
ImageSource
Gets or sets the source of the image to display in the navigation item. For more information see the ImageSource type.
public ImageSource ImageSource { get; set; }
Gets or sets a value indicating whether the navigation item is selectable.
public bool IsSelectable { get; set; }
Gets or sets a value indicating whether the navigation item is selected.
public bool IsSelected { get; set; }
Events
Raised when the navigation item is clicked.
public event EventHandler Clicked
Raised when the IsSelected property has changed.
public event EventHandler IsSelectedChanged