Skip to main content
A newer version of this page is available. .

OptionsNavPane.AllowOptionsMenuItem Property

Gets or sets whether an end-user can invoke the Navigation Pane Options dialog to customize the order of groups and font settings of items.

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v19.1.dll

Declaration

[DefaultValue(false)]
public virtual bool AllowOptionsMenuItem { get; set; }

Property Value

Type Default Description
Boolean **false**

true if an end-user can invoke the Navigation Pane Options Dialog; otherwise, false.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to AllowOptionsMenuItem
WinForms Controls NavBarControl
.OptionsNavPane.AllowOptionsMenuItem
Reporting XRDesignToolBox
.OptionsNavPane.AllowOptionsMenuItem

Remarks

If the AllowOptionsMenuItem property is set to true, the Navigation Pane Customization Menu contains a Navigation Pane Options… menu command. This command invokes the Navigation Pane Options dialog allowing an end-user to change the order of groups and font settings of items:

NavPaneOptionsDialog

For groups displaying custom controls (when their NavBarGroup.GroupStyle properties are set to NavBarGroupStyle.ControlContainer), the Font button in the Navigation Pane Options dialog is disabled by default. To enable this button and allow an end-user to customize a font for this group, handle the NavBarControl.NavPaneOptionsCanEditGroupFont event. After the user selected a font via a separate dialog, you can apply this font to the group according to custom logic via the NavBarControl.NavPaneOptionsApplyGroupFont event.

See Also