skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • Resources Hub
    • .NET MAUI Tutorials and Learning
    • First Steps
    • Submit a Ticket
    • FAQs

    Docs & Resources

    • Docs
    • Demos
    • Migrate to .NET MAUI
    • Forums
    • Videos
    • Blogs

    Productivity and Design Tools

    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class NavigationViewPane

Represents a navigation pane in the RadNavigationView control.

Inheritance
System.Object
RadContentView
RadCompositeContentView
RadBorderContentView
NavigationViewPane
Inherited Members
RadBorderContentView.BackgroundColorProperty
RadBorderContentView.BackgroundProperty
RadBorderContentView.BorderColorProperty
RadBorderContentView.BorderBrushProperty
RadBorderContentView.BorderThicknessProperty
RadBorderContentView.CornerRadiusProperty
RadBorderContentView.ContentPaddingProperty
RadBorderContentView.BackgroundColor
RadBorderContentView.Background
RadBorderContentView.BorderColor
RadBorderContentView.BorderBrush
RadBorderContentView.BorderThickness
RadBorderContentView.CornerRadius
RadBorderContentView.ContentPadding
RadCompositeContentView.StyleProperty
RadCompositeContentView.ControlTemplateProperty
RadCompositeContentView.OnApplyTemplate()
RadCompositeContentView.Style
RadCompositeContentView.ControlTemplate
RadContentView.ActualStyleClassProperty
RadContentView.OnChildAdded(Element)
RadContentView.OnChildRemoved(Element, Int32)
RadContentView.OnHandlerChanged()
RadContentView.ActualStyleClass
Namespace: Telerik.Maui.Controls.NavigationView
Assembly: Telerik.Maui.Controls.dll

Syntax

public class NavigationViewPane : RadBorderContentView, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout

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
Microsoft.Maui.Controls.BindableProperty

DisplayModeProperty

Identifies the DisplayMode property.

Declaration
public static readonly BindableProperty DisplayModeProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

ExpandedWidthProperty

Identifies the ExpandedWidth property.

Declaration
public static readonly BindableProperty ExpandedWidthProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

FooterStyleProperty

Identifies the FooterStyle property.

Declaration
public static readonly BindableProperty FooterStyleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

FooterTemplateProperty

Identifies the FooterTemplate property.

Declaration
public static readonly BindableProperty FooterTemplateProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

HasFooterItemsProperty

Identifies the HasFooterItems property.

Declaration
public static readonly BindableProperty HasFooterItemsProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

HasHeaderItemsProperty

Identifies the HasHeaderItems property.

Declaration
public static readonly BindableProperty HasHeaderItemsProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

HeaderStyleProperty

Identifies the HeaderStyle property.

Declaration
public static readonly BindableProperty HeaderStyleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

HeaderTemplateProperty

Identifies the HeaderTemplate property.

Declaration
public static readonly BindableProperty HeaderTemplateProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

IsOpenProperty

Identifies the IsOpen property.

Declaration
public static readonly BindableProperty IsOpenProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

ItemSpacingProperty

Identifies the ItemSpacing property.

Declaration
public static readonly BindableProperty ItemSpacingProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

ItemsProperty

Identifies the Items property.

Declaration
public static readonly BindableProperty ItemsProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

SelectedItemProperty

Identifies the SelectedItem property.

Declaration
public static readonly BindableProperty SelectedItemProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

VerticalScrollBarStyleProperty

Identifies the VerticalScrollBarStyle property.

Declaration
public static readonly BindableProperty VerticalScrollBarStyleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

VerticalScrollBarTemplateProperty

Identifies the VerticalScrollBarTemplate property.

Declaration
public static readonly BindableProperty VerticalScrollBarTemplateProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

VerticalScrollBarVisibilityProperty

Identifies the VerticalScrollBarVisibility property.

Declaration
public static readonly BindableProperty VerticalScrollBarVisibilityProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

Properties

CompactWidth

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

Declaration
public double CompactWidth { get; set; }
Property Value
System.Double

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
NavigationViewDisplayMode

ExpandedWidth

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

Declaration
public double ExpandedWidth { get; set; }
Property Value
System.Double

FooterContent

Gets the footer content of the navigation pane.

Declaration
public View FooterContent { get; }
Property Value
Microsoft.Maui.Controls.View

FooterStyle

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

Declaration
public Style FooterStyle { get; set; }
Property Value
Microsoft.Maui.Controls.Style

FooterTemplate

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

Declaration
public ControlTemplate FooterTemplate { get; set; }
Property Value
Microsoft.Maui.Controls.ControlTemplate

HasFooterItems

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

Declaration
public bool HasFooterItems { get; }
Property Value
System.Boolean

HasHeaderItems

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

Declaration
public bool HasHeaderItems { get; }
Property Value
System.Boolean

HeaderContent

Gets the header content of the navigation pane.

Declaration
public View HeaderContent { get; }
Property Value
Microsoft.Maui.Controls.View

HeaderStyle

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

Declaration
public Style HeaderStyle { get; set; }
Property Value
Microsoft.Maui.Controls.Style

HeaderTemplate

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

Declaration
public ControlTemplate HeaderTemplate { get; set; }
Property Value
Microsoft.Maui.Controls.ControlTemplate

IsOpen

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

Declaration
public bool IsOpen { get; set; }
Property Value
System.Boolean

Items

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

Declaration
public IList<NavigationViewItemBase> Items { get; set; }
Property Value
System.Collections.Generic.IList<NavigationViewItemBase>

ItemSpacing

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

Declaration
public double ItemSpacing { get; set; }
Property Value
System.Double

SelectedItem

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

Declaration
public object SelectedItem { get; set; }
Property Value
System.Object

VerticalScrollBarStyle

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

Declaration
public Style VerticalScrollBarStyle { get; set; }
Property Value
Microsoft.Maui.Controls.Style

VerticalScrollBarTemplate

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

Declaration
public ControlTemplate VerticalScrollBarTemplate { get; set; }
Property Value
Microsoft.Maui.Controls.ControlTemplate

VerticalScrollBarVisibility

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

Declaration
public ScrollBarVisibility VerticalScrollBarVisibility { get; set; }
Property Value
Microsoft.Maui.ScrollBarVisibility

Methods

ArrangeOverride(Rect)

Declaration
protected override Size ArrangeOverride(Rect layoutBounds)
Parameters
Microsoft.Maui.Graphics.Rect layoutBounds

Returns
Microsoft.Maui.Graphics.Size

OnBindingContextChanged()

Called when the binding context changes.

Declaration
protected override void OnBindingContextChanged()
Overrides
RadCompositeContentView.OnBindingContextChanged()

OnPropertyChanged(String)

Declaration
protected override void OnPropertyChanged(string propertyName = null)
Parameters
System.String propertyName

Overrides
RadCompositeContentView.OnPropertyChanged(String)

Events

Closed

Raised when the closed animation completes.

Declaration
public event EventHandler Closed
Event Type
System.EventHandler

ItemClicked

Raised when a NavigationViewItem is clicked.

Declaration
public event EventHandler<NavigationViewItemEventArgs> ItemClicked
Event Type
System.EventHandler<NavigationViewItemEventArgs>

Opened

Raised when the open animation completes.

Declaration
public event EventHandler Opened
Event Type
System.EventHandler

SelectionChanged

Raised when the currently selected NavigationViewItem has changed.

Declaration
public event EventHandler SelectionChanged
Event Type
System.EventHandler

Extension Methods

AndroidTypeConversionExtensions.ToJavaObject(Object)
Sample Applications
  • Controls Samples App
  • Crypto Tracker App
Support Resources
  • .NET MAUI SDKBrowser App
Community
  • Forums
  • Blogs
  • Feedback Portal
  • YouTube Channel

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.