New to Telerik UI for .NET MAUIStart a free 30-day trial

Represents a navigation pane in the RadNavigationView control.

Definition

Constructors

Initializes a new instance of the NavigationViewPane class.

C#
public NavigationViewPane()

Fields

CompactWidthProperty

BindableProperty

Identifies the CompactWidth property.

C#
public static readonly BindableProperty CompactWidthProperty

DisplayModeProperty

BindableProperty

Identifies the DisplayMode property.

C#
public static readonly BindableProperty DisplayModeProperty

ExpandedWidthProperty

BindableProperty

Identifies the ExpandedWidth property.

C#
public static readonly BindableProperty ExpandedWidthProperty

FooterStyleProperty

BindableProperty

Identifies the FooterStyle property.

C#
public static readonly BindableProperty FooterStyleProperty

FooterTemplateProperty

BindableProperty

Identifies the FooterTemplate property.

C#
public static readonly BindableProperty FooterTemplateProperty

HasFooterItemsProperty

BindableProperty

Identifies the HasFooterItems property.

C#
public static readonly BindableProperty HasFooterItemsProperty

HasHeaderItemsProperty

BindableProperty

Identifies the HasHeaderItems property.

C#
public static readonly BindableProperty HasHeaderItemsProperty

HeaderStyleProperty

BindableProperty

Identifies the HeaderStyle property.

C#
public static readonly BindableProperty HeaderStyleProperty

HeaderTemplateProperty

BindableProperty

Identifies the HeaderTemplate property.

C#
public static readonly BindableProperty HeaderTemplateProperty

IsOpenProperty

BindableProperty

Identifies the IsOpen property.

C#
public static readonly BindableProperty IsOpenProperty

ItemSpacingProperty

BindableProperty

Identifies the ItemSpacing property.

C#
public static readonly BindableProperty ItemSpacingProperty

ItemsProperty

BindableProperty

Identifies the Items property.

C#
public static readonly BindableProperty ItemsProperty

SelectedItemProperty

BindableProperty

Identifies the SelectedItem property.

C#
public static readonly BindableProperty SelectedItemProperty

Identifies the VerticalScrollBarStyle property.

C#
public static readonly BindableProperty VerticalScrollBarStyleProperty

Identifies the VerticalScrollBarTemplate property.

C#
public static readonly BindableProperty VerticalScrollBarTemplateProperty

Identifies the VerticalScrollBarVisibility property.

C#
public static readonly BindableProperty VerticalScrollBarVisibilityProperty

Properties

Gets or sets the width of the navigation pane in compact mode.

C#
public double CompactWidth { get; set; }

Gets or sets a value that indicates how the pane is displayed - Minimal, Compact or Expanded.

C#
public NavigationViewDisplayMode DisplayMode { get; set; }

Gets or sets the width of the navigation pane in expanded mode.

C#
public double ExpandedWidth { get; set; }

Gets the footer content of the navigation pane.

C#
public View FooterContent { get; }

Gets or sets the Style of the footer. The target type of this Style is NavigationViewPaneFooter.

C#
public Style FooterStyle { get; set; }

FooterTemplate

ControlTemplate

Gets or sets the ControlTemplate of the footer. The target type of this ControlTemplate is NavigationViewPaneFooter.

C#
public ControlTemplate FooterTemplate { get; set; }

Gets a value indicating whether the footer layout has any items.

C#
public bool HasFooterItems { get; }

Gets a value indicating whether the header layout has any items.

C#
public bool HasHeaderItems { get; }

Gets the header content of the navigation pane.

C#
public View HeaderContent { get; }

Gets or sets the Style of the header. The target type of this Style is NavigationViewPaneHeader.

C#
public Style HeaderStyle { get; set; }

HeaderTemplate

ControlTemplate

Gets or sets the ControlTemplate of the header. The target type of this ControlTemplate is NavigationViewPaneHeader.

C#
public ControlTemplate HeaderTemplate { get; set; }

Gets or sets a value indicating whether the navigation pane is open.

C#
public bool IsOpen { get; set; }

Gets or sets a collection of NavigationViewItemBases to display in the navigation pane.

C#
public IList<NavigationViewItemBase> Items { get; set; }

Gets or sets the spacing in pixels between the items in the navigation pane.

C#
public double ItemSpacing { get; set; }

Gets or sets the currently selected item in the navigation pane.

C#
public object SelectedItem { get; set; }

Gets or sets the Style of the vertical scroll bar. The target type of this Style is RadScrollBar.

C#
public Style VerticalScrollBarStyle { get; set; }

Gets or sets the ControlTemplate of the vertical scroll bar. The target type of this ControlTemplate is RadScrollBar.

C#
public ControlTemplate VerticalScrollBarTemplate { get; set; }

VerticalScrollBarVisibility

ScrollBarVisibility

Gets or sets the visibility of the vertical scroll bar. For more information see the ScrollBarVisibility type.

C#
public ScrollBarVisibility VerticalScrollBarVisibility { get; set; }

Methods

C#
protected override Size ArrangeOverride(Rect layoutBounds)
Parameters:layoutBoundsRectReturns:

Size

Called when the binding context changes.

C#
protected override void OnBindingContextChanged()

Overrides: RadCompositeContentView.OnBindingContextChanged()

C#
protected override void OnPropertyChanged(string propertyName = null)
Parameters:propertyNamestring

Overrides: RadCompositeContentView.OnPropertyChanged(string)

Events

Raised when the closed animation completes.

C#
public event EventHandler Closed

Raised when a NavigationViewItem is clicked.

C#
public event EventHandler<NavigationViewItemEventArgs> ItemClicked

Raised when the open animation completes.

C#
public event EventHandler Opened

Raised when the currently selected NavigationViewItem has changed.

C#
public event EventHandler SelectionChanged