New to Telerik UI for .NET MAUIStart a free 30-day trial

Represents a navigation item in the RadNavigationView control.

Definition

Constructors

C#
public NavigationViewItem()

Fields

CommandParameterProperty

BindableProperty

Identifies the CommandParameter property.

C#
public static readonly BindableProperty CommandParameterProperty

CommandProperty

BindableProperty

Identifies the Command property.

C#
public static readonly BindableProperty CommandProperty

ContentTemplateProperty

BindableProperty

Identifies the ContentTemplate property.

C#
public static readonly BindableProperty ContentTemplateProperty

ImageSourceProperty

BindableProperty

Identifies the ImageSource property.

C#
public static readonly BindableProperty ImageSourceProperty

IsSelectableProperty

BindableProperty

Identifies the IsSelectable property.

C#
public static readonly BindableProperty IsSelectableProperty

IsSelectedProperty

BindableProperty

Identifies the IsSelected property.

C#
public static readonly BindableProperty IsSelectedProperty

TextProperty

BindableProperty

Identifies the Text property.

C#
public static readonly BindableProperty TextProperty

Properties

Gets or sets a command to execute when the navigation item is clicked.

C#
public ICommand Command { get; set; }

Gets or sets a parameter to command which is executed when the navigation item is clicked.

C#
public object CommandParameter { get; set; }

ContentTemplate

DataTemplate

Gets or sets the DataTemplate used to display the content.

C#
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.

C#
public ImageSource ImageSource { get; set; }

Gets or sets a value indicating whether the navigation item is selectable.

C#
public bool IsSelectable { get; set; }

Gets or sets a value indicating whether the navigation item is selected.

C#
public bool IsSelected { get; set; }

Gets or sets the text to display in the navigation item.

C#
public string Text { get; set; }

Events

Raised when the navigation item is clicked.

C#
public event EventHandler Clicked

Raised when the IsSelected property has changed.

C#
public event EventHandler IsSelectedChanged