Edit this page

Properties of the NavigationView

You can use the following properties to change the behavior of the Navigation View:

Property Description
HamburgerButton Gives access to the menu button at the top
HeaderElement Gives access to the header element and the page title
Popup Gives access to the popup that contains all pages (shown in Minimal mode)
IsCollapsed Gets/sets the current state of the pages popup
DisplayMode Gets/Sets the display mode. The possible values are - Auto, Compact, Expanded*and *Minimal
HeaderHeight Gets/Sets the header height
ExpandedPaneWidth Gets/Sets the pages panel width when the mode is set to Expanded
CollapsedPaneWidth Gets/Sets the pages panel width when the mode is set to Compact
CompactModeThresholdWidth This property determines when the DisplayMode will be switched from Compact to Minimal. The DisplayMode should be set to Auto in order this to work. The default value is 641.
ExpandedModeThresholdWidth This property determines when the DisplayMode will be switched from Expanded to Compact. The DisplayMode should be set to Auto in order this to work. THe default value is 1008.
AllowAnimation Gets or sets a value indicating whether to use animation when collapsing and expanding the menu.
AnimationInterval Gets or sets the animation interval.
AnimationFrames Gets or sets the animation frames.

Accessing the RadPageViewNavigationViewElement Properties

var navigationElement = this.radPageView1.ViewElement as RadPageViewNavigationViewElement;
navigationElement.DisplayMode = NavigationViewDisplayModes.Auto;

Dim navigationElement = TryCast(Me.radPageView1.ViewElement, RadPageViewNavigationViewElement)
navigationElement.DisplayMode = NavigationViewDisplayModes.Auto

See Also

Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy