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
Initializes a new instance of NavigationViewItemView class.
public NavigationViewItemView()
Fields
ActualImageSourceProperty
BindableProperty
Identifies the ActualImageSource property.
public static readonly BindableProperty ActualImageSourceProperty
CommandParameterProperty
BindableProperty
Identifies the CommandParameter property.
public static readonly BindableProperty CommandParameterProperty
CommandProperty
BindableProperty
Identifies the Command property.
public static readonly BindableProperty CommandProperty
ImageAspectProperty
BindableProperty
Identifies the ImageAspect property.
public static readonly BindableProperty ImageAspectProperty
ImageHeightProperty
BindableProperty
Identifies the ImageHeight property.
public static readonly BindableProperty ImageHeightProperty
ImageSourceProperty
BindableProperty
Identifies the ImageSource property.
public static readonly BindableProperty ImageSourceProperty
ImageWidthProperty
BindableProperty
Identifies the ImageWidth property.
public static readonly BindableProperty ImageWidthProperty
IsSelectableProperty
BindableProperty
Identifies the IsSelectable property.
public static readonly BindableProperty IsSelectableProperty
IsSelectedProperty
BindableProperty
Identifies the IsSelected property.
public static readonly BindableProperty IsSelectedProperty
SpacingProperty
BindableProperty
Identifies the Spacing property.
public static readonly BindableProperty SpacingProperty
Properties
ActualImageSource
ImageSource
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.
public ImageSource ActualImageSource { get; }
Gets or sets a command to execute when the navigation item is clicked.
public ICommand Command { get; set; }
Gets or sets a parameter to command which is executed when the navigation item is clicked.
public object CommandParameter { get; set; }
ImageAspect
Aspect
Gets or sets the aspect ratio of the image to display in the navigation item. For more information see the Aspect type.
public Aspect ImageAspect { get; set; }
Gets or sets the height in pixels of the image to display in the navigation item.
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.
public ImageSource ImageSource { get; set; }
Gets or sets the width in pixels of the image to display in the navigation item.
public double ImageWidth { get; set; }
Gets or sets a value indicating whether the navigation item is selectable.
public bool IsSelectable { get; set; }
Gets or sets a value indicating whether the navigation item is selected.
public bool IsSelected { get; set; }
Methods
protected override void ChangeVisualState()
Events
Raised when the navigation item is clicked.
public event EventHandler Clicked
Raised when the IsSelected property has changed.
public event EventHandler IsSelectedChanged