skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • Resources Hub
    • .NET MAUI Tutorials and Learning
    • First Steps
    • Submit a Ticket
    • FAQs

    Docs & Resources

    • Docs
    • Demos
    • Migrate to .NET MAUI
    • Forums
    • Videos
    • Blogs

    Productivity and Design Tools

    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class NavigationViewItemView

Visual representation of a navigation item in the RadNavigationView control.

Inheritance
System.Object
RadContentView
RadCompositeContentView
RadBorderContentView
NavigationViewContainer
NavigationViewItemView
Inherited Members
NavigationViewContainer.CompactWidthProperty
NavigationViewContainer.ExpandedWidthProperty
NavigationViewContainer.ContentTemplateProperty
NavigationViewContainer.TextProperty
NavigationViewContainer.TextColorProperty
NavigationViewContainer.FontFamilyProperty
NavigationViewContainer.FontSizeProperty
NavigationViewContainer.FontAttributesProperty
NavigationViewContainer.TextDecorationsProperty
NavigationViewContainer.LineBreakModeProperty
NavigationViewContainer.HorizontalTextAlignmentProperty
NavigationViewContainer.VerticalTextAlignmentProperty
NavigationViewContainer.HorizontalContentOptionsProperty
NavigationViewContainer.VerticalContentOptionsProperty
NavigationViewContainer.CompactWidth
NavigationViewContainer.ExpandedWidth
NavigationViewContainer.ContentTemplate
NavigationViewContainer.Text
NavigationViewContainer.TextColor
NavigationViewContainer.FontFamily
NavigationViewContainer.FontSize
NavigationViewContainer.FontAttributes
NavigationViewContainer.TextDecorations
NavigationViewContainer.LineBreakMode
NavigationViewContainer.HorizontalTextAlignment
NavigationViewContainer.VerticalTextAlignment
NavigationViewContainer.HorizontalContentOptions
NavigationViewContainer.VerticalContentOptions
RadBorderContentView.BackgroundColorProperty
RadBorderContentView.BackgroundProperty
RadBorderContentView.BorderColorProperty
RadBorderContentView.BorderBrushProperty
RadBorderContentView.BorderThicknessProperty
RadBorderContentView.CornerRadiusProperty
RadBorderContentView.ContentPaddingProperty
RadBorderContentView.BackgroundColor
RadBorderContentView.Background
RadBorderContentView.BorderColor
RadBorderContentView.BorderBrush
RadBorderContentView.BorderThickness
RadBorderContentView.CornerRadius
RadBorderContentView.ContentPadding
RadCompositeContentView.StyleProperty
RadCompositeContentView.ControlTemplateProperty
RadCompositeContentView.OnApplyTemplate()
RadCompositeContentView.OnBindingContextChanged()
RadCompositeContentView.OnPropertyChanged(String)
RadCompositeContentView.Style
RadCompositeContentView.ControlTemplate
RadContentView.ActualStyleClassProperty
RadContentView.OnChildAdded(Element)
RadContentView.OnChildRemoved(Element, Int32)
RadContentView.OnHandlerChanged()
RadContentView.ActualStyleClass
Namespace: Telerik.Maui.Controls.NavigationView
Assembly: Telerik.Maui.Controls.dll

Syntax

public class NavigationViewItemView : NavigationViewContainer, IRadContentView, IContentView, IPadding, ICrossPlatformLayout, IToolStripSelectableView, IToolStripClickableView, IToolStripView, IToolStripElement, IVisualTreeElement, IView, IElement, ITransform

Constructors

NavigationViewItemView()

Initializes a new instance of NavigationViewItemView class.

Declaration
public NavigationViewItemView()

Fields

ActualImageSourceProperty

Identifies the ActualImageSource property.

Declaration
public static readonly BindableProperty ActualImageSourceProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

CommandParameterProperty

Identifies the CommandParameter property.

Declaration
public static readonly BindableProperty CommandParameterProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

CommandProperty

Identifies the Command property.

Declaration
public static readonly BindableProperty CommandProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

ImageAspectProperty

Identifies the ImageAspect property.

Declaration
public static readonly BindableProperty ImageAspectProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

ImageHeightProperty

Identifies the ImageHeight property.

Declaration
public static readonly BindableProperty ImageHeightProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

ImageSourceProperty

Identifies the ImageSource property.

Declaration
public static readonly BindableProperty ImageSourceProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

ImageWidthProperty

Identifies the ImageWidth property.

Declaration
public static readonly BindableProperty ImageWidthProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

IsSelectableProperty

Identifies the IsSelectable property.

Declaration
public static readonly BindableProperty IsSelectableProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

IsSelectedProperty

Identifies the IsSelected property.

Declaration
public static readonly BindableProperty IsSelectedProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

LeadingWidthProperty

Identifies the LeadingWidth property.

Declaration
public static readonly BindableProperty LeadingWidthProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

SpacingProperty

Identifies the Spacing property.

Declaration
public static readonly BindableProperty SpacingProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

Properties

ActualImageSource

Gets the actual ImageSource used to display the image in the navigation item. This property is intended to work in combination with the Microsoft.Maui.Controls.FontImageSource type. When a Microsoft.Maui.Controls.FontImageSource is specified and no Microsoft.Maui.Controls.FontImageSource.Color is explicitly assigned to it, this property contains the modified Microsoft.Maui.Controls.FontImageSource to match the current value of the TextColor property of the navigation item. When the TextColor property changes, the color of the Microsoft.Maui.Controls.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.

Declaration
public ImageSource ActualImageSource { get; }
Property Value
Microsoft.Maui.Controls.ImageSource

Command

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

CommandParameter

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

Declaration
public object CommandParameter { get; set; }
Property Value
System.Object

ImageAspect

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

Declaration
public Aspect ImageAspect { get; set; }
Property Value
Microsoft.Maui.Aspect

ImageHeight

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

Declaration
public double ImageHeight { get; set; }
Property Value
System.Double

ImageSource

Gets or sets the source of the image to display in the navigation item. For more information see the ImageSource type.

Declaration
public ImageSource ImageSource { get; set; }
Property Value
Microsoft.Maui.Controls.ImageSource

ImageWidth

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

Declaration
public double ImageWidth { get; set; }
Property Value
System.Double

IsSelectable

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

Declaration
public bool IsSelectable { get; set; }
Property Value
System.Boolean

IsSelected

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

Declaration
public bool IsSelected { get; set; }
Property Value
System.Boolean

LeadingWidth

For internal use.

Declaration
public double LeadingWidth { get; }
Property Value
System.Double

Spacing

Gets or sets the spacing in pixels between the image area and the content in the navigation item.

Declaration
public double Spacing { get; set; }
Property Value
System.Double

Methods

ChangeVisualState()

Declaration
protected override void ChangeVisualState()

Events

Clicked

Raised when the navigation item is clicked.

Declaration
public event EventHandler Clicked
Event Type
System.EventHandler

IsSelectedChanged

Raised when the IsSelected property has changed.

Declaration
public event EventHandler IsSelectedChanged
Event Type
System.EventHandler

Extension Methods

AndroidTypeConversionExtensions.ToJavaObject(Object)
Sample Applications
  • Controls Samples App
  • Crypto Tracker App
Support Resources
  • .NET MAUI SDKBrowser App
Community
  • Forums
  • Blogs
  • Feedback Portal
  • YouTube Channel

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.