ClassNavigationViewPane
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
NavigationViewPane()
Initializes a new instance of the NavigationViewPane class.
Declaration
public NavigationViewPane()
Fields
CompactWidthProperty
Identifies the CompactWidth property.
Declaration
public static readonly BindableProperty CompactWidthProperty
Field Value
BindableProperty
DisplayModeProperty
Identifies the DisplayMode property.
Declaration
public static readonly BindableProperty DisplayModeProperty
Field Value
BindableProperty
ExpandedWidthProperty
Identifies the ExpandedWidth property.
Declaration
public static readonly BindableProperty ExpandedWidthProperty
Field Value
BindableProperty
FooterStyleProperty
Identifies the FooterStyle property.
Declaration
public static readonly BindableProperty FooterStyleProperty
Field Value
BindableProperty
FooterTemplateProperty
Identifies the FooterTemplate property.
Declaration
public static readonly BindableProperty FooterTemplateProperty
Field Value
BindableProperty
HasFooterItemsProperty
Identifies the HasFooterItems property.
Declaration
public static readonly BindableProperty HasFooterItemsProperty
Field Value
BindableProperty
HasHeaderItemsProperty
Identifies the HasHeaderItems property.
Declaration
public static readonly BindableProperty HasHeaderItemsProperty
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
IsOpenProperty
Identifies the IsOpen property.
Declaration
public static readonly BindableProperty IsOpenProperty
Field Value
BindableProperty
ItemSpacingProperty
Identifies the ItemSpacing property.
Declaration
public static readonly BindableProperty ItemSpacingProperty
Field Value
BindableProperty
ItemsProperty
Identifies the Items property.
Declaration
public static readonly BindableProperty ItemsProperty
Field Value
BindableProperty
SelectedItemProperty
Identifies the SelectedItem property.
Declaration
public static readonly BindableProperty SelectedItemProperty
Field Value
BindableProperty
VerticalScrollBarStyleProperty
Identifies the VerticalScrollBarStyle property.
Declaration
public static readonly BindableProperty VerticalScrollBarStyleProperty
Field Value
BindableProperty
VerticalScrollBarTemplateProperty
Identifies the VerticalScrollBarTemplate property.
Declaration
public static readonly BindableProperty VerticalScrollBarTemplateProperty
Field Value
BindableProperty
VerticalScrollBarVisibilityProperty
Identifies the VerticalScrollBarVisibility property.
Declaration
public static readonly BindableProperty VerticalScrollBarVisibilityProperty
Field Value
BindableProperty
Properties
CompactWidth
Gets or sets the width of the navigation pane in compact mode.
DisplayMode
Gets or sets a value that indicates how the pane is displayed - Minimal, Compact or Expanded.
Declaration
public NavigationViewDisplayMode DisplayMode { get; set; }
Property Value
ExpandedWidth
Gets or sets the width of the navigation pane in expanded mode.
FooterContent
Gets the footer content of the navigation pane.
Declaration
public View FooterContent { get; }
Property Value
View
FooterStyle
Gets or sets the Style of the footer. The target type of this Style is NavigationViewPaneFooter.
Declaration
public Style FooterStyle { get; set; }
Property Value
Style
FooterTemplate
Gets or sets the ControlTemplate of the footer. The target type of this ControlTemplate is NavigationViewPaneFooter.
Declaration
public ControlTemplate FooterTemplate { get; set; }
Property Value
ControlTemplate
HasFooterItems
Gets a value indicating whether the footer layout has any items.
HasHeaderItems
Gets a value indicating whether the header layout has any items.
HeaderContent
Gets the header content of the navigation pane.
Declaration
public View HeaderContent { get; }
Property Value
View
HeaderStyle
Gets or sets the Style of the header. The target type of this Style is NavigationViewPaneHeader.
Declaration
public Style HeaderStyle { get; set; }
Property Value
Style
HeaderTemplate
Gets or sets the ControlTemplate of the header. The target type of this ControlTemplate is NavigationViewPaneHeader.
Declaration
public ControlTemplate HeaderTemplate { get; set; }
Property Value
ControlTemplate
IsOpen
Gets or sets a value indicating whether the navigation pane is open.
ItemSpacing
Gets or sets the spacing in pixels between the items in the navigation pane.
Items
Gets or sets a collection of NavigationViewItemBases to display in the navigation pane.
Declaration
public IList<NavigationViewItemBase> Items { get; set; }
Property Value
SelectedItem
Gets or sets the currently selected item in the navigation pane.
VerticalScrollBarStyle
Gets or sets the Style of the vertical scroll bar. The target type of this Style is RadScrollBar.
Declaration
public Style VerticalScrollBarStyle { get; set; }
Property Value
Style
VerticalScrollBarTemplate
Gets or sets the ControlTemplate of the vertical scroll bar. The target type of this ControlTemplate is RadScrollBar.
Declaration
public ControlTemplate VerticalScrollBarTemplate { get; set; }
Property Value
ControlTemplate
VerticalScrollBarVisibility
Gets or sets the visibility of the vertical scroll bar. For more information see the ScrollBarVisibility type.
Declaration
public ScrollBarVisibility VerticalScrollBarVisibility { get; set; }
Property Value
ScrollBarVisibility
Methods
ArrangeOverride(Rect)
Declaration
protected override Size ArrangeOverride(Rect layoutBounds)
Parameters
layoutBounds
Rect
Returns
Size
OnBindingContextChanged()
Called when the binding context changes.
Declaration
protected override void OnBindingContextChanged()
Overrides
OnPropertyChanged(string)
Declaration
protected override void OnPropertyChanged(string propertyName = null)
Parameters
propertyName
Overrides
Events
Closed
Raised when the closed animation completes.
ItemClicked
Raised when a NavigationViewItem is clicked.
Declaration
public event EventHandler<NavigationViewItemEventArgs> ItemClicked
Event Value
Opened
Raised when the open animation completes.
SelectionChanged
Raised when the currently selected NavigationViewItem has changed.