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

Visual representation of a navigation item in the RadNavigationView control.

Definition

Namespace:Telerik.Maui.Controls.NavigationView

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public class NavigationViewItemView : NavigationViewContainer, IRadContentView, IContentView, IPadding, ICrossPlatformLayout, IVisualTreeElement, IView, IElement, ITransform

Inheritance: objectRadContentViewRadCompositeContentViewRadBorderContentViewNavigationViewContainerNavigationViewItemView...

Implements: IContentViewICrossPlatformLayoutIElementIPaddingIRadContentViewITransformIViewIVisualTreeElement...

Inherited Members NavigationViewContainer.CompactWidthPropertyNavigationViewContainer.ExpandedWidthPropertyNavigationViewContainer.ContentTemplatePropertyNavigationViewContainer.TextPropertyNavigationViewContainer.TextColorPropertyNavigationViewContainer.FontFamilyPropertyNavigationViewContainer.FontSizePropertyNavigationViewContainer.FontAttributesPropertyNavigationViewContainer.TextDecorationsPropertyNavigationViewContainer.LineBreakModePropertyNavigationViewContainer.HorizontalTextAlignmentPropertyNavigationViewContainer.VerticalTextAlignmentPropertyNavigationViewContainer.HorizontalContentOptionsPropertyNavigationViewContainer.VerticalContentOptionsPropertyNavigationViewContainer.CompactWidthNavigationViewContainer.ExpandedWidthNavigationViewContainer.ContentTemplateNavigationViewContainer.TextNavigationViewContainer.TextColorNavigationViewContainer.FontFamilyNavigationViewContainer.FontSizeNavigationViewContainer.FontAttributesNavigationViewContainer.TextDecorationsNavigationViewContainer.LineBreakModeNavigationViewContainer.HorizontalTextAlignmentNavigationViewContainer.VerticalTextAlignmentNavigationViewContainer.HorizontalContentOptionsNavigationViewContainer.VerticalContentOptionsRadBorderContentView.BackgroundColorPropertyRadBorderContentView.BackgroundPropertyRadBorderContentView.BorderColorPropertyRadBorderContentView.BorderBrushPropertyRadBorderContentView.BorderThicknessPropertyRadBorderContentView.CornerRadiusPropertyRadBorderContentView.ContentPaddingPropertyRadBorderContentView.BackgroundColorRadBorderContentView.BackgroundRadBorderContentView.BorderColorRadBorderContentView.BorderBrushRadBorderContentView.BorderThicknessRadBorderContentView.CornerRadiusRadBorderContentView.ContentPaddingRadCompositeContentView.StylePropertyRadCompositeContentView.ControlTemplatePropertyRadCompositeContentView.OnApplyTemplate()RadCompositeContentView.OnBindingContextChanged()RadCompositeContentView.OnPropertyChanged(string)RadCompositeContentView.StyleRadCompositeContentView.ControlTemplateRadContentView.ActualStyleClassPropertyRadContentView.OnChildAdded(Element)RadContentView.OnChildRemoved(Element, int)RadContentView.OnHandlerChanged()...

Constructors

Initializes a new instance of NavigationViewItemView class.

C#
public NavigationViewItemView()

Fields

Identifies the ActualImageSource property.

C#
public static readonly BindableProperty ActualImageSourceProperty

CommandParameterProperty

BindableProperty

Identifies the CommandParameter property.

C#
public static readonly BindableProperty CommandParameterProperty

CommandProperty

BindableProperty

Identifies the Command property.

C#
public static readonly BindableProperty CommandProperty

ImageAspectProperty

BindableProperty

Identifies the ImageAspect property.

C#
public static readonly BindableProperty ImageAspectProperty

ImageHeightProperty

BindableProperty

Identifies the ImageHeight property.

C#
public static readonly BindableProperty ImageHeightProperty

ImageSourceProperty

BindableProperty

Identifies the ImageSource property.

C#
public static readonly BindableProperty ImageSourceProperty

ImageWidthProperty

BindableProperty

Identifies the ImageWidth property.

C#
public static readonly BindableProperty ImageWidthProperty

IsSelectableProperty

BindableProperty

Identifies the IsSelectable property.

C#
public static readonly BindableProperty IsSelectableProperty

IsSelectedProperty

BindableProperty

Identifies the IsSelected property.

C#
public static readonly BindableProperty IsSelectedProperty

SpacingProperty

BindableProperty

Identifies the Spacing property.

C#
public static readonly BindableProperty SpacingProperty

Properties

Gets the actual ImageSource used to display the image in the navigation item. This property is intended to work in combination with the FontImageSource type. When a FontImageSource is specified and no is explicitly assigned to it, this property contains the modified FontImageSource to match the current value of the TextColor property of the navigation item. When the TextColor property changes, the color of the FontImageSource is updated automatically. This is useful for changing the color of the image during visual state transitions, without having to provide different images for each possible visual state.

C#
public ImageSource ActualImageSource { get; }

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; }

Gets or sets the aspect ratio of the image to display in the navigation item. For more information see the Aspect type.

C#
public Aspect ImageAspect { get; set; }

Gets or sets the height in pixels of the image to display in the navigation item.

C#
public double ImageHeight { 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 the width in pixels of the image to display in the navigation item.

C#
public double ImageWidth { 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 spacing in pixels between the image area and the content in the navigation item.

C#
public double Spacing { get; set; }

Methods

C#
protected override void ChangeVisualState()

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