ClassNavigationViewItemView
Visual representation of a navigation item in the RadNavigationView control.
Definition
Namespace:Telerik.Maui.Controls.NavigationView
Assembly:Telerik.Maui.Controls.dll
Syntax:
public class NavigationViewItemView : NavigationViewContainer, IRadContentView, IContentView, IPadding, ICrossPlatformLayout, IVisualTreeElement, IView, IElement, ITransform
Inheritance: objectRadContentViewRadCompositeContentViewRadBorderContentViewNavigationViewContainerNavigationViewItemView
Implements:
Inherited Members
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
BindableProperty
CommandParameterProperty
Identifies the CommandParameter property.
Declaration
public static readonly BindableProperty CommandParameterProperty
Field Value
BindableProperty
CommandProperty
Identifies the Command property.
Declaration
public static readonly BindableProperty CommandProperty
Field Value
BindableProperty
ImageAspectProperty
Identifies the ImageAspect property.
Declaration
public static readonly BindableProperty ImageAspectProperty
Field Value
BindableProperty
ImageHeightProperty
Identifies the ImageHeight property.
Declaration
public static readonly BindableProperty ImageHeightProperty
Field Value
BindableProperty
ImageSourceProperty
Identifies the ImageSource property.
Declaration
public static readonly BindableProperty ImageSourceProperty
Field Value
BindableProperty
ImageWidthProperty
Identifies the ImageWidth property.
Declaration
public static readonly BindableProperty ImageWidthProperty
Field Value
BindableProperty
IsSelectableProperty
Identifies the IsSelectable property.
Declaration
public static readonly BindableProperty IsSelectableProperty
Field Value
BindableProperty
IsSelectedProperty
Identifies the IsSelected property.
Declaration
public static readonly BindableProperty IsSelectedProperty
Field Value
BindableProperty
SpacingProperty
Identifies the Spacing property.
Declaration
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
public ImageSource ActualImageSource { get; }
Property Value
ImageSource
Command
Gets or sets a command to execute when the navigation item is clicked.
CommandParameter
Gets or sets a parameter to command which is executed when the navigation item is clicked.
ImageAspect
Gets or sets the aspect ratio of the image to display in the navigation item. For more information see the Aspect type.
Declaration
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.
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
ImageSource
ImageWidth
Gets or sets the width in pixels of the image to display in the navigation item.
IsSelectable
Gets or sets a value indicating whether the navigation item is selectable.
IsSelected
Gets or sets a value indicating whether the navigation item is selected.
Methods
ChangeVisualState()
Declaration
protected override void ChangeVisualState()
Events
Clicked
Raised when the navigation item is clicked.
IsSelectedChanged
Raised when the IsSelected property has changed.