Class NavigationViewItemView
Inheritance
System.Object
NavigationViewItemView
Assembly: Telerik.Maui.Controls.dll
Syntax
public class NavigationViewItemView : NavigationViewContainer, IRadContentView, IContentView, IPadding, IToolStripSelectableView, IToolStripClickableView, IToolStripView, IToolStripElement, IVisualTreeElement, IView, IElement, ITransform
Constructors
Declaration
public NavigationViewItemView()
Fields
Declaration
public static readonly BindableProperty ActualImageSourceProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
Declaration
public static readonly BindableProperty CommandParameterProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
Declaration
public static readonly BindableProperty CommandProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
Declaration
public static readonly BindableProperty ImageAspectProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
Declaration
public static readonly BindableProperty ImageHeightProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
Declaration
public static readonly BindableProperty ImageSourceProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
Declaration
public static readonly BindableProperty ImageWidthProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
Declaration
public static readonly BindableProperty IsSelectableProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
Declaration
public static readonly BindableProperty IsSelectedProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
Declaration
public static readonly BindableProperty LeadingWidthProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
Declaration
public static readonly BindableProperty SpacingProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
Properties
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
|
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
|
Gets or sets a parameter to command which is executed when the navigation item is clicked.
Declaration
public object CommandParameter { get; set; }
Property Value
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
Gets or sets the height in pixels of the image to display in the navigation item.
Declaration
public double ImageHeight { get; set; }
Property Value
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
|
Gets or sets the width in pixels of the image to display in the navigation item.
Declaration
public double ImageWidth { get; set; }
Property Value
Gets or sets a value indicating whether the navigation item is selectable.
Declaration
public bool IsSelectable { get; set; }
Property Value
Gets or sets a value indicating whether the navigation item is selected.
Declaration
public bool IsSelected { get; set; }
Property Value
Declaration
public double LeadingWidth { get; }
Property Value
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
Methods
Declaration
protected override void ChangeVisualState()
Events
Raised when the navigation item is clicked.
Declaration
public event EventHandler Clicked
Event Type
Declaration
public event EventHandler IsSelectedChanged
Event Type
Extension Methods