NavigationViewPane
Represents a navigation pane in the RadNavigationView control.
Definition
Namespace:Telerik.Maui.Controls.NavigationView
Assembly:Telerik.Maui.Controls.dll
Syntax:
public class NavigationViewPane : RadBorderContentView, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout
Inheritance: objectRadContentViewRadCompositeContentViewRadBorderContentViewNavigationViewPane
Implements:
Inherited Members
Constructors
Initializes a new instance of the NavigationViewPane class.
public NavigationViewPane()
Fields
CompactWidthProperty
BindableProperty
Identifies the CompactWidth property.
public static readonly BindableProperty CompactWidthProperty
DisplayModeProperty
BindableProperty
Identifies the DisplayMode property.
public static readonly BindableProperty DisplayModeProperty
ExpandedWidthProperty
BindableProperty
Identifies the ExpandedWidth property.
public static readonly BindableProperty ExpandedWidthProperty
FooterStyleProperty
BindableProperty
Identifies the FooterStyle property.
public static readonly BindableProperty FooterStyleProperty
FooterTemplateProperty
BindableProperty
Identifies the FooterTemplate property.
public static readonly BindableProperty FooterTemplateProperty
HasFooterItemsProperty
BindableProperty
Identifies the HasFooterItems property.
public static readonly BindableProperty HasFooterItemsProperty
HasHeaderItemsProperty
BindableProperty
Identifies the HasHeaderItems property.
public static readonly BindableProperty HasHeaderItemsProperty
HeaderStyleProperty
BindableProperty
Identifies the HeaderStyle property.
public static readonly BindableProperty HeaderStyleProperty
HeaderTemplateProperty
BindableProperty
Identifies the HeaderTemplate property.
public static readonly BindableProperty HeaderTemplateProperty
IsOpenProperty
BindableProperty
Identifies the IsOpen property.
public static readonly BindableProperty IsOpenProperty
ItemSpacingProperty
BindableProperty
Identifies the ItemSpacing property.
public static readonly BindableProperty ItemSpacingProperty
ItemsProperty
BindableProperty
Identifies the Items property.
public static readonly BindableProperty ItemsProperty
SelectedItemProperty
BindableProperty
Identifies the SelectedItem property.
public static readonly BindableProperty SelectedItemProperty
VerticalScrollBarStyleProperty
BindableProperty
Identifies the VerticalScrollBarStyle property.
public static readonly BindableProperty VerticalScrollBarStyleProperty
VerticalScrollBarTemplateProperty
BindableProperty
Identifies the VerticalScrollBarTemplate property.
public static readonly BindableProperty VerticalScrollBarTemplateProperty
VerticalScrollBarVisibilityProperty
BindableProperty
Identifies the VerticalScrollBarVisibility property.
public static readonly BindableProperty VerticalScrollBarVisibilityProperty
Properties
Gets or sets the width of the navigation pane in compact mode.
public double CompactWidth { get; set; }
Gets or sets a value that indicates how the pane is displayed - Minimal, Compact or Expanded.
public NavigationViewDisplayMode DisplayMode { get; set; }
Gets or sets the width of the navigation pane in expanded mode.
public double ExpandedWidth { get; set; }
FooterContent
View
Gets the footer content of the navigation pane.
public View FooterContent { get; }
FooterStyle
Style
Gets or sets the Style of the footer. The target type of this Style is NavigationViewPaneFooter.
public Style FooterStyle { get; set; }
FooterTemplate
ControlTemplate
Gets or sets the ControlTemplate of the footer. The target type of this ControlTemplate is NavigationViewPaneFooter.
public ControlTemplate FooterTemplate { get; set; }
Gets a value indicating whether the footer layout has any items.
public bool HasFooterItems { get; }
Gets a value indicating whether the header layout has any items.
public bool HasHeaderItems { get; }
HeaderContent
View
Gets the header content of the navigation pane.
public View HeaderContent { get; }
HeaderStyle
Style
Gets or sets the Style of the header. The target type of this Style is NavigationViewPaneHeader.
public Style HeaderStyle { get; set; }
HeaderTemplate
ControlTemplate
Gets or sets the ControlTemplate of the header. The target type of this ControlTemplate is NavigationViewPaneHeader.
public ControlTemplate HeaderTemplate { get; set; }
Gets or sets a value indicating whether the navigation pane is open.
public bool IsOpen { get; set; }
Gets or sets a collection of NavigationViewItemBases to display in the navigation pane.
public IList<NavigationViewItemBase> Items { get; set; }
Gets or sets the spacing in pixels between the items in the navigation pane.
public double ItemSpacing { get; set; }
Gets or sets the currently selected item in the navigation pane.
public object SelectedItem { get; set; }
Gets or sets the Style of the vertical scroll bar. The target type of this Style is RadScrollBar.
public Style VerticalScrollBarStyle { get; set; }
VerticalScrollBarTemplate
ControlTemplate
Gets or sets the ControlTemplate of the vertical scroll bar. The target type of this ControlTemplate is RadScrollBar.
public ControlTemplate VerticalScrollBarTemplate { get; set; }
VerticalScrollBarVisibility
ScrollBarVisibility
Gets or sets the visibility of the vertical scroll bar. For more information see the ScrollBarVisibility type.
public ScrollBarVisibility VerticalScrollBarVisibility { get; set; }
Methods
protected override Size ArrangeOverride(Rect layoutBounds)
Size
Called when the binding context changes.
protected override void OnBindingContextChanged()
Overrides:
protected override void OnPropertyChanged(string propertyName = null)
Overrides:
Events
Raised when the closed animation completes.
public event EventHandler Closed
Raised when a NavigationViewItem is clicked.
public event EventHandler<NavigationViewItemEventArgs> ItemClicked
Raised when the open animation completes.
public event EventHandler Opened
Raised when the currently selected NavigationViewItem has changed.
public event EventHandler SelectionChanged