Class
NavigationViewItemView

Visual representation of a navigation item in the RadNavigationView control.

Definition

Namespace:Telerik.Maui.Controls.NavigationView

Assembly:Telerik.Maui.Controls.dll

Syntax:

cs-api-definition
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

NavigationViewItemView()

Initializes a new instance of NavigationViewItemView class.

Declaration

cs-api-definition
public NavigationViewItemView()

Fields

ActualImageSourceProperty

Identifies the ActualImageSource property.

Declaration

cs-api-definition
public static readonly BindableProperty ActualImageSourceProperty

Field Value

BindableProperty

CommandParameterProperty

Identifies the CommandParameter property.

Declaration

cs-api-definition
public static readonly BindableProperty CommandParameterProperty

Field Value

BindableProperty

CommandProperty

Identifies the Command property.

Declaration

cs-api-definition
public static readonly BindableProperty CommandProperty

Field Value

BindableProperty

ImageAspectProperty

Identifies the ImageAspect property.

Declaration

cs-api-definition
public static readonly BindableProperty ImageAspectProperty

Field Value

BindableProperty

ImageHeightProperty

Identifies the ImageHeight property.

Declaration

cs-api-definition
public static readonly BindableProperty ImageHeightProperty

Field Value

BindableProperty

ImageSourceProperty

Identifies the ImageSource property.

Declaration

cs-api-definition
public static readonly BindableProperty ImageSourceProperty

Field Value

BindableProperty

ImageWidthProperty

Identifies the ImageWidth property.

Declaration

cs-api-definition
public static readonly BindableProperty ImageWidthProperty

Field Value

BindableProperty

IsSelectableProperty

Identifies the IsSelectable property.

Declaration

cs-api-definition
public static readonly BindableProperty IsSelectableProperty

Field Value

BindableProperty

IsSelectedProperty

Identifies the IsSelected property.

Declaration

cs-api-definition
public static readonly BindableProperty IsSelectedProperty

Field Value

BindableProperty

SpacingProperty

Identifies the Spacing property.

Declaration

cs-api-definition
public static readonly BindableProperty SpacingProperty

Field Value

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

Declaration

cs-api-definition
public ImageSource ActualImageSource { get; }

Property Value

ImageSource

Command

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

Declaration

cs-api-definition
public ICommand Command { get; set; }

Property Value

ICommand

CommandParameter

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

Declaration

cs-api-definition
public object CommandParameter { get; set; }

Property Value

object

ImageAspect

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

Declaration

cs-api-definition
public Aspect ImageAspect { get; set; }

Property Value

Aspect

ImageHeight

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

Declaration

cs-api-definition
public double ImageHeight { get; set; }

Property Value

double

ImageSource

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

Declaration

cs-api-definition
public ImageSource ImageSource { get; set; }

Property Value

ImageSource

ImageWidth

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

Declaration

cs-api-definition
public double ImageWidth { get; set; }

Property Value

double

IsSelectable

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

Declaration

cs-api-definition
public bool IsSelectable { get; set; }

Property Value

bool

IsSelected

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

Declaration

cs-api-definition
public bool IsSelected { get; set; }

Property Value

bool

Spacing

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

Declaration

cs-api-definition
public double Spacing { get; set; }

Property Value

double

Methods

ChangeVisualState()

Declaration

cs-api-definition
protected override void ChangeVisualState()

Events

Clicked

Raised when the navigation item is clicked.

Declaration

cs-api-definition
public event EventHandler Clicked

Event Value

EventHandler

IsSelectedChanged

Raised when the IsSelected property has changed.

Declaration

cs-api-definition
public event EventHandler IsSelectedChanged

Event Value

EventHandler