RadNavigationView
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
Initializes a new instance of the RadNavigationView class.
public RadNavigationView()
Fields
AutoChangeDisplayModeProperty
BindableProperty
Identifies the AutoChangeDisplayMode property.
public static readonly BindableProperty AutoChangeDisplayModeProperty
CompactModeThresholdWidthProperty
BindableProperty
Identifies the CompactModeThresholdWidth property.
public static readonly BindableProperty CompactModeThresholdWidthProperty
CompactPaneWidthProperty
BindableProperty
Identifies the CompactPaneWidth property.
public static readonly BindableProperty CompactPaneWidthProperty
DismissOverlayBrushProperty
BindableProperty
Identifies the DismissOverlayBrush property.
public static readonly BindableProperty DismissOverlayBrushProperty
DismissOverlayColorProperty
BindableProperty
Identifies the DismissOverlayColor property.
public static readonly BindableProperty DismissOverlayColorProperty
DisplayMemberConverterProperty
BindableProperty
Identifies the DisplayMemberConverter property.
public static readonly BindableProperty DisplayMemberConverterProperty
DisplayMemberPathProperty
BindableProperty
Identifies the DisplayMemberPath property.
public static readonly BindableProperty DisplayMemberPathProperty
DisplayModeProperty
BindableProperty
Identifies the DisplayMode property.
public static readonly BindableProperty DisplayModeProperty
ExpandedModeThresholdWidthProperty
BindableProperty
Identifies the ExpandedModeThresholdWidth property.
public static readonly BindableProperty ExpandedModeThresholdWidthProperty
ExpandedPaneWidthProperty
BindableProperty
Identifies the ExpandedPaneWidth property.
public static readonly BindableProperty ExpandedPaneWidthProperty
HeaderStyleProperty
BindableProperty
Identifies the HeaderStyle property.
public static readonly BindableProperty HeaderStyleProperty
HeaderTemplateProperty
BindableProperty
Identifies the HeaderTemplate property.
public static readonly BindableProperty HeaderTemplateProperty
HeaderTextProperty
BindableProperty
Identifies the HeaderText property.
public static readonly BindableProperty HeaderTextProperty
ImageSourceConverterProperty
BindableProperty
Identifies the ImageSourceConverter property.
public static readonly BindableProperty ImageSourceConverterProperty
ImageSourcePathProperty
BindableProperty
Identifies the ImageSourcePath property.
public static readonly BindableProperty ImageSourcePathProperty
IsDismissOverlayVisibleProperty
BindableProperty
Identifies the IsDismissOverlayVisible property.
public static readonly BindableProperty IsDismissOverlayVisibleProperty
IsPaneOpenProperty
BindableProperty
Identifies the IsPaneOpen property.
public static readonly BindableProperty IsPaneOpenProperty
ItemsSourceProperty
BindableProperty
Identifies the ItemsSource property.
public static readonly BindableProperty ItemsSourceProperty
ItemStyleProperty
BindableProperty
Identifies the ItemStyle property.
public static readonly BindableProperty ItemStyleProperty
ItemStyleSelectorProperty
BindableProperty
Identifies the ItemStyleSelector property.
public static readonly BindableProperty ItemStyleSelectorProperty
ItemTemplateProperty
BindableProperty
Identifies the ItemTemplate property.
public static readonly BindableProperty ItemTemplateProperty
PaneStyleProperty
BindableProperty
Identifies the PaneStyle property.
public static readonly BindableProperty PaneStyleProperty
SelectedItemProperty
BindableProperty
Identifies the SelectedItem property.
public static readonly BindableProperty SelectedItemProperty
Properties
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.
public bool AutoChangeDisplayMode { get; set; }
Gets the command which closes the pane.
public ICommand ClosePaneCommand { get; }
Gets or sets the minimum width at which the NavigationView enters Compact display mode.
public double CompactModeThresholdWidth { get; set; }
Gets or sets the width of the NavigationView pane in its compact display mode.
public double CompactPaneWidth { get; set; }
DismissOverlayBrush
Brush
Gets or sets the Brush used to display the dismiss overlay.
public Brush DismissOverlayBrush { get; set; }
DismissOverlayColor
Color
Gets or sets the Color used to display the dismiss overlay.
public Color DismissOverlayColor { get; set; }
DisplayMemberConverter
IValueConverter
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.
public IValueConverter DisplayMemberConverter { get; set; }
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.
public string DisplayMemberPath { get; set; }
Gets or sets a value that indicates how the NavigationView pane is displayed - Minimal, Compact or Expanded.
public NavigationViewDisplayMode DisplayMode { get; set; }
Gets or sets the minimum width at which the NavigationView enters Expanded display mode.
public double ExpandedModeThresholdWidth { get; set; }
Gets or sets the width of the NavigationView pane when it's fully expanded.
public double ExpandedPaneWidth { get; set; }
HeaderStyle
Style
Gets or sets the style that will be applied to the NavigationViewHeader.
public Style HeaderStyle { get; set; }
HeaderTemplate
DataTemplate
Gets or sets the content template for the NavigationViewHeader.
public DataTemplate HeaderTemplate { get; set; }
Gets or sets the text for the NavigationViewHeader.
public string HeaderText { get; set; }
ImageSourceConverter
IValueConverter
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.
public IValueConverter ImageSourceConverter { get; set; }
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.
public string ImageSourcePath { get; set; }
Gets a value indicating whether the dismiss overlay is currently visible.
public bool IsDismissOverlayVisible { get; }
Gets or sets a value that specifies whether the NavigationView pane is expanded to its full width.
public bool IsPaneOpen { get; set; }
Gets a collection of NavigationViewItemBases to display in the navigation view.
public IList<NavigationViewItemBase> Items { get; }
Gets or sets a collection of items to display in the navigation view.
public IList ItemsSource { get; set; }
ItemStyle
Style
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.
public Style ItemStyle { get; set; }
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.
public IStyleSelector ItemStyleSelector { get; set; }
ItemTemplate
DataTemplate
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.
public DataTemplate ItemTemplate { get; set; }
Gets the command which opens the pane.
public ICommand OpenPaneCommand { get; }
PaneStyle
Style
Gets or sets the style that will be applied to the NavigationViewPane.
public Style PaneStyle { get; set; }
Gets or sets the currently selected item in the navigation view.
public object SelectedItem { get; set; }
Gets the command which opens and closes the pane.
public ICommand TogglePaneCommand { get; }
Methods
protected override void OnApplyTemplate()
Overrides:
protected override void OnPropertyChanged(string propertyName = null)
Overrides:
Events
Raised when a NavigationViewItem is clicked.
public event EventHandler<NavigationViewItemEventArgs> ItemClicked
Raised when the NavigationViewPane close animation completes.
public event EventHandler PaneClosed
Raised when the NavigationViewPane open animation completes.
public event EventHandler PaneOpened
Raised when the currently selected NavigationViewItem has changed.
public event EventHandler SelectionChanged