Class
NavigationViewPane

Represents a navigation pane in the RadNavigationView control.

Definition

Namespace:Telerik.Maui.Controls.NavigationView

Assembly:Telerik.Maui.Controls.dll

Syntax:

cs-api-definition
public class NavigationViewPane : RadBorderContentView, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout

Inheritance: objectRadContentViewRadCompositeContentViewRadBorderContentViewNavigationViewPane

Implements: IContentViewICrossPlatformLayoutIElementIPaddingIRadContentViewITransformIView

Inherited Members RadBorderContentView.BackgroundColorPropertyRadBorderContentView.BackgroundPropertyRadBorderContentView.BorderColorPropertyRadBorderContentView.BorderBrushPropertyRadBorderContentView.BorderThicknessPropertyRadBorderContentView.CornerRadiusPropertyRadBorderContentView.ContentPaddingPropertyRadBorderContentView.BackgroundColorRadBorderContentView.BackgroundRadBorderContentView.BorderColorRadBorderContentView.BorderBrushRadBorderContentView.BorderThicknessRadBorderContentView.CornerRadiusRadBorderContentView.ContentPaddingRadCompositeContentView.StylePropertyRadCompositeContentView.ControlTemplatePropertyRadCompositeContentView.OnApplyTemplate()RadCompositeContentView.StyleRadCompositeContentView.ControlTemplateRadContentView.ActualStyleClassPropertyRadContentView.OnChildAdded(Element)RadContentView.OnChildRemoved(Element, int)RadContentView.OnHandlerChanged()

Constructors

NavigationViewPane()

Initializes a new instance of the NavigationViewPane class.

Declaration

cs-api-definition
public NavigationViewPane()

Fields

CompactWidthProperty

Identifies the CompactWidth property.

Declaration

cs-api-definition
public static readonly BindableProperty CompactWidthProperty

Field Value

BindableProperty

DisplayModeProperty

Identifies the DisplayMode property.

Declaration

cs-api-definition
public static readonly BindableProperty DisplayModeProperty

Field Value

BindableProperty

ExpandedWidthProperty

Identifies the ExpandedWidth property.

Declaration

cs-api-definition
public static readonly BindableProperty ExpandedWidthProperty

Field Value

BindableProperty

FooterStyleProperty

Identifies the FooterStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty FooterStyleProperty

Field Value

BindableProperty

FooterTemplateProperty

Identifies the FooterTemplate property.

Declaration

cs-api-definition
public static readonly BindableProperty FooterTemplateProperty

Field Value

BindableProperty

HasFooterItemsProperty

Identifies the HasFooterItems property.

Declaration

cs-api-definition
public static readonly BindableProperty HasFooterItemsProperty

Field Value

BindableProperty

HasHeaderItemsProperty

Identifies the HasHeaderItems property.

Declaration

cs-api-definition
public static readonly BindableProperty HasHeaderItemsProperty

Field Value

BindableProperty

HeaderStyleProperty

Identifies the HeaderStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty HeaderStyleProperty

Field Value

BindableProperty

HeaderTemplateProperty

Identifies the HeaderTemplate property.

Declaration

cs-api-definition
public static readonly BindableProperty HeaderTemplateProperty

Field Value

BindableProperty

IsOpenProperty

Identifies the IsOpen property.

Declaration

cs-api-definition
public static readonly BindableProperty IsOpenProperty

Field Value

BindableProperty

ItemSpacingProperty

Identifies the ItemSpacing property.

Declaration

cs-api-definition
public static readonly BindableProperty ItemSpacingProperty

Field Value

BindableProperty

ItemsProperty

Identifies the Items property.

Declaration

cs-api-definition
public static readonly BindableProperty ItemsProperty

Field Value

BindableProperty

SelectedItemProperty

Identifies the SelectedItem property.

Declaration

cs-api-definition
public static readonly BindableProperty SelectedItemProperty

Field Value

BindableProperty

VerticalScrollBarStyleProperty

Identifies the VerticalScrollBarStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty VerticalScrollBarStyleProperty

Field Value

BindableProperty

VerticalScrollBarTemplateProperty

Identifies the VerticalScrollBarTemplate property.

Declaration

cs-api-definition
public static readonly BindableProperty VerticalScrollBarTemplateProperty

Field Value

BindableProperty

VerticalScrollBarVisibilityProperty

Identifies the VerticalScrollBarVisibility property.

Declaration

cs-api-definition
public static readonly BindableProperty VerticalScrollBarVisibilityProperty

Field Value

BindableProperty

Properties

CompactWidth

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

Declaration

cs-api-definition
public double CompactWidth { get; set; }

Property Value

double

DisplayMode

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

Declaration

cs-api-definition
public NavigationViewDisplayMode DisplayMode { get; set; }

Property Value

NavigationViewDisplayMode

ExpandedWidth

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

Declaration

cs-api-definition
public double ExpandedWidth { get; set; }

Property Value

double

FooterContent

Gets the footer content of the navigation pane.

Declaration

cs-api-definition
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

cs-api-definition
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

cs-api-definition
public ControlTemplate FooterTemplate { get; set; }

Property Value

ControlTemplate

HasFooterItems

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

Declaration

cs-api-definition
public bool HasFooterItems { get; }

Property Value

bool

HasHeaderItems

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

Declaration

cs-api-definition
public bool HasHeaderItems { get; }

Property Value

bool

HeaderContent

Gets the header content of the navigation pane.

Declaration

cs-api-definition
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

cs-api-definition
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

cs-api-definition
public ControlTemplate HeaderTemplate { get; set; }

Property Value

ControlTemplate

IsOpen

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

Declaration

cs-api-definition
public bool IsOpen { get; set; }

Property Value

bool

ItemSpacing

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

Declaration

cs-api-definition
public double ItemSpacing { get; set; }

Property Value

double

Items

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

Declaration

cs-api-definition
public IList<NavigationViewItemBase> Items { get; set; }

Property Value

IList<NavigationViewItemBase>

SelectedItem

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

Declaration

cs-api-definition
public object SelectedItem { get; set; }

Property Value

object

VerticalScrollBarStyle

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

Declaration

cs-api-definition
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

cs-api-definition
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

cs-api-definition
public ScrollBarVisibility VerticalScrollBarVisibility { get; set; }

Property Value

ScrollBarVisibility

Methods

ArrangeOverride(Rect)

Declaration

cs-api-definition
protected override Size ArrangeOverride(Rect layoutBounds)

Parameters

layoutBounds

Rect

Returns

Size

OnBindingContextChanged()

Called when the binding context changes.

Declaration

cs-api-definition
protected override void OnBindingContextChanged()

Overrides RadCompositeContentView.OnBindingContextChanged()

OnPropertyChanged(string)

Declaration

cs-api-definition
protected override void OnPropertyChanged(string propertyName = null)

Parameters

propertyName

string

Overrides RadCompositeContentView.OnPropertyChanged(string)

Events

Closed

Raised when the closed animation completes.

Declaration

cs-api-definition
public event EventHandler Closed

Event Value

EventHandler

ItemClicked

Raised when a NavigationViewItem is clicked.

Declaration

cs-api-definition
public event EventHandler<NavigationViewItemEventArgs> ItemClicked

Event Value

EventHandler<NavigationViewItemEventArgs>

Opened

Raised when the open animation completes.

Declaration

cs-api-definition
public event EventHandler Opened

Event Value

EventHandler

SelectionChanged

Raised when the currently selected NavigationViewItem has changed.

Declaration

cs-api-definition
public event EventHandler SelectionChanged

Event Value

EventHandler