ClassRadNavigationView
The RadNavigationView control provides a common vertical layout for top-level areas in your application via a collapsible navigation menu.
Definition
Namespace:Telerik.Maui.Controls
Assembly:Telerik.Maui.Controls.dll
Syntax:
public class RadNavigationView : RadBorderContentView, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout
Inheritance: objectRadContentViewRadCompositeContentViewRadBorderContentViewRadNavigationView
Implements:
Inherited Members
Constructors
RadNavigationView()
Initializes a new instance of the RadNavigationView class.
Declaration
public RadNavigationView()
Fields
AutoChangeDisplayModeProperty
Identifies the AutoChangeDisplayMode property.
Declaration
public static readonly BindableProperty AutoChangeDisplayModeProperty
Field Value
BindableProperty
CompactModeThresholdWidthProperty
Identifies the CompactModeThresholdWidth property.
Declaration
public static readonly BindableProperty CompactModeThresholdWidthProperty
Field Value
BindableProperty
CompactPaneWidthProperty
Identifies the CompactPaneWidth property.
Declaration
public static readonly BindableProperty CompactPaneWidthProperty
Field Value
BindableProperty
DismissOverlayBrushProperty
Identifies the DismissOverlayBrush property.
Declaration
public static readonly BindableProperty DismissOverlayBrushProperty
Field Value
BindableProperty
DismissOverlayColorProperty
Identifies the DismissOverlayColor property.
Declaration
public static readonly BindableProperty DismissOverlayColorProperty
Field Value
BindableProperty
DisplayMemberConverterProperty
Identifies the DisplayMemberConverter property.
Declaration
public static readonly BindableProperty DisplayMemberConverterProperty
Field Value
BindableProperty
DisplayMemberPathProperty
Identifies the DisplayMemberPath property.
Declaration
public static readonly BindableProperty DisplayMemberPathProperty
Field Value
BindableProperty
DisplayModeProperty
Identifies the DisplayMode property.
Declaration
public static readonly BindableProperty DisplayModeProperty
Field Value
BindableProperty
ExpandedModeThresholdWidthProperty
Identifies the ExpandedModeThresholdWidth property.
Declaration
public static readonly BindableProperty ExpandedModeThresholdWidthProperty
Field Value
BindableProperty
ExpandedPaneWidthProperty
Identifies the ExpandedPaneWidth property.
Declaration
public static readonly BindableProperty ExpandedPaneWidthProperty
Field Value
BindableProperty
HeaderStyleProperty
Identifies the HeaderStyle property.
Declaration
public static readonly BindableProperty HeaderStyleProperty
Field Value
BindableProperty
HeaderTemplateProperty
Identifies the HeaderTemplate property.
Declaration
public static readonly BindableProperty HeaderTemplateProperty
Field Value
BindableProperty
HeaderTextProperty
Identifies the HeaderText property.
Declaration
public static readonly BindableProperty HeaderTextProperty
Field Value
BindableProperty
ImageSourceConverterProperty
Identifies the ImageSourceConverter property.
Declaration
public static readonly BindableProperty ImageSourceConverterProperty
Field Value
BindableProperty
ImageSourcePathProperty
Identifies the ImageSourcePath property.
Declaration
public static readonly BindableProperty ImageSourcePathProperty
Field Value
BindableProperty
IsDismissOverlayVisibleProperty
Identifies the IsDismissOverlayVisible property.
Declaration
public static readonly BindableProperty IsDismissOverlayVisibleProperty
Field Value
BindableProperty
IsPaneOpenProperty
Identifies the IsPaneOpen property.
Declaration
public static readonly BindableProperty IsPaneOpenProperty
Field Value
BindableProperty
ItemStyleProperty
Identifies the ItemStyle property.
Declaration
public static readonly BindableProperty ItemStyleProperty
Field Value
BindableProperty
ItemStyleSelectorProperty
Identifies the ItemStyleSelector property.
Declaration
public static readonly BindableProperty ItemStyleSelectorProperty
Field Value
BindableProperty
ItemTemplateProperty
Identifies the ItemTemplate property.
Declaration
public static readonly BindableProperty ItemTemplateProperty
Field Value
BindableProperty
ItemsSourceProperty
Identifies the ItemsSource property.
Declaration
public static readonly BindableProperty ItemsSourceProperty
Field Value
BindableProperty
PaneStyleProperty
Identifies the PaneStyle property.
Declaration
public static readonly BindableProperty PaneStyleProperty
Field Value
BindableProperty
SelectedItemProperty
Identifies the SelectedItem property.
Declaration
public static readonly BindableProperty SelectedItemProperty
Field Value
BindableProperty
Properties
AutoChangeDisplayMode
Gets or sets a value that indicates if the NavigationView will auto change its display mode depending on the values of the CompactModeThresholdWidth and ExpandedModeThresholdWidth properties.
ClosePaneCommand
Gets the command which closes the pane.
CompactModeThresholdWidth
Gets or sets the minimum width at which the NavigationView enters Compact display mode.
Declaration
public double CompactModeThresholdWidth { get; set; }
Property Value
CompactPaneWidth
Gets or sets the width of the NavigationView pane in its compact display mode.
DismissOverlayBrush
Gets or sets the Brush used to display the dismiss overlay.
Declaration
public Brush DismissOverlayBrush { get; set; }
Property Value
Brush
DismissOverlayColor
Gets or sets the Color used to display the dismiss overlay.
Declaration
public Color DismissOverlayColor { get; set; }
Property Value
Color
DisplayMemberConverter
Gets or sets a converter for the display member of the generated navigation items. This property is used in combination with the ItemsSource property, when generating navigation items automatically from a custom collection of items.
Declaration
public IValueConverter DisplayMemberConverter { get; set; }
Property Value
IValueConverter
DisplayMemberPath
Gets or sets the path to the display member of the generated navigation items. This property is used in combination with the ItemsSource property, when generating navigation items automatically from a custom collection of items.
DisplayMode
Gets or sets a value that indicates how the NavigationView pane is displayed - Minimal, Compact or Expanded.
Declaration
public NavigationViewDisplayMode DisplayMode { get; set; }
Property Value
ExpandedModeThresholdWidth
Gets or sets the minimum width at which the NavigationView enters Expanded display mode.
Declaration
public double ExpandedModeThresholdWidth { get; set; }
Property Value
ExpandedPaneWidth
Gets or sets the width of the NavigationView pane when it's fully expanded.
HeaderStyle
Gets or sets the style that will be applied to the NavigationViewHeader.
Declaration
public Style HeaderStyle { get; set; }
Property Value
Style
HeaderTemplate
Gets or sets the content template for the NavigationViewHeader.
Declaration
public DataTemplate HeaderTemplate { get; set; }
Property Value
DataTemplate
HeaderText
Gets or sets the text for the NavigationViewHeader.
ImageSourceConverter
Gets or sets a converter for the image source of the generated navigation items. This property is used in combination with the ItemsSource property, when generating navigation items automatically from a custom collection of items.
Declaration
public IValueConverter ImageSourceConverter { get; set; }
Property Value
IValueConverter
ImageSourcePath
Gets or sets the path to the image source member of the generated navigation items. This property is used in combination with the ItemsSource property, when generating navigation items automatically from a custom collection of items.
IsDismissOverlayVisible
Gets a value indicating whether the dismiss overlay is currently visible.
IsPaneOpen
Gets or sets a value that specifies whether the NavigationView pane is expanded to its full width.
ItemStyle
Gets or sets the Style applied to the generated navigation items. This property is used in combination with the ItemsSource property, when generating navigation items automatically from a custom collection of items. The target type of the Style is NavigationViewItemView.
Declaration
public Style ItemStyle { get; set; }
Property Value
Style
ItemStyleSelector
Gets or sets a IStyleSelector used with the generated navigation items. This property is used in combination with the ItemsSource property, when generating navigation items automatically from a custom collection of items. The target type of the Style is NavigationViewItemView.
Declaration
public IStyleSelector ItemStyleSelector { get; set; }
Property Value
ItemTemplate
Gets or sets the DataTemplate applied to the generated navigation items. This property is used in combination with the ItemsSource property, when generating navigation items automatically from a custom collection of items.
Declaration
public DataTemplate ItemTemplate { get; set; }
Property Value
DataTemplate
Items
Gets a collection of NavigationViewItemBases to display in the navigation view.
Declaration
public IList<NavigationViewItemBase> Items { get; }
Property Value
ItemsSource
Gets or sets a collection of items to display in the navigation view.
OpenPaneCommand
Gets the command which opens the pane.
PaneStyle
Gets or sets the style that will be applied to the NavigationViewPane.
Declaration
public Style PaneStyle { get; set; }
Property Value
Style
SelectedItem
Gets or sets the currently selected item in the navigation view.
TogglePaneCommand
Gets the command which opens and closes the pane.
Methods
OnApplyTemplate()
Declaration
protected override void OnApplyTemplate()
Overrides
OnPropertyChanged(string)
Declaration
protected override void OnPropertyChanged(string propertyName = null)
Parameters
propertyName
Overrides
Events
ItemClicked
Raised when a NavigationViewItem is clicked.
Declaration
public event EventHandler<NavigationViewItemEventArgs> ItemClicked
Event Value
PaneClosed
Raised when the NavigationViewPane close animation completes.
PaneOpened
Raised when the NavigationViewPane open animation completes.
SelectionChanged
Raised when the currently selected NavigationViewItem has changed.