Skip to main content

NavBarStringId Enum

Contains values corresponding to strings that can be localized.

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v24.1.dll

NuGet Packages: DevExpress.Win, DevExpress.Win.Navigation

Declaration

public enum NavBarStringId

Members

Name Description
NavPaneMenuShowMoreButtons

The caption of the “Show More Buttons” item in the dropdown menu displayed for the Overflow panel when the “NavigationPane” view is applied.

Default return value of the GetLocalizedString method: “Show More Buttons”

NavPaneMenuShowFewerButtons

The caption of the “Show Fewer Buttons” item in the dropdown menu displayed for the Overflow panel when the “NavigationPane” view is applied.

Default return value of the GetLocalizedString method: “Show Fewer Buttons”

NavPaneMenuAddRemoveButtons

The caption of the “Add or Remove Buttons” item in the dropdown menu displayed for the Overflow panel when the “NavigationPane” view is applied.

Default return value of the GetLocalizedString method: “Add or Remove Buttons”

NavPaneChevronHint

The text of the hint displayed for the dropdown button in the Overflow panel. This panel is available when the “NavigationPane” view is applied.

Default return value of the GetLocalizedString method: “Configure buttons”

NavPaneMenuPaneOptions

The title of the menu item displaying the Navigation Pane Options dialog (see OptionsNavPane.AllowOptionsMenuItem).

Default return value of the GetLocalizedString method: “Na&vigation Pane Options…”

NavPaneOptionsFormMoveUp

The caption of the Move Up button in the Navigation Pane Options dialog (see OptionsNavPane.AllowOptionsMenuItem).

Default return value of the GetLocalizedString method: “Move Up”

NavPaneOptionsFormMoveDown

The caption of the Move Down button in the Navigation Pane Options dialog (see OptionsNavPane.AllowOptionsMenuItem).

Default return value of the GetLocalizedString method: “Move Down”

NavPaneOptionsFormFont

The caption of the Font button in the Navigation Pane Options dialog (see OptionsNavPane.AllowOptionsMenuItem).

Default return value of the GetLocalizedString method: “Font”

NavPaneOptionsFormReset

The caption of the Reset button in the Navigation Pane Options dialog (see OptionsNavPane.AllowOptionsMenuItem).

Default return value of the GetLocalizedString method: “Reset”

NavPaneOptionsFormOk

The caption of the Ok button in the Navigation Pane Options dialog (see OptionsNavPane.AllowOptionsMenuItem).

Default return value of the GetLocalizedString method: “OK”

NavPaneOptionsFormCancel

The caption of the Cancel button in the Navigation Pane Options dialog (see OptionsNavPane.AllowOptionsMenuItem).

Default return value of the GetLocalizedString method: “”

NavPaneOptionsFormDescription

A description label in the Navigation Pane Options dialog (see OptionsNavPane.AllowOptionsMenuItem).

Default return value of the GetLocalizedString method: “Display buttons in this order”

Remarks

The NavBarStringId type enumerates values corresponding to strings displayed within the NavBarControl and which can be localized. To localize the NavBarControl’s strings you can do the following:

  1. create a class by inheriting the DevExpress.XtraNavBar.NavBarLocalizer class
  2. override its GetLocalizedString method. This method takes a NavBarStringId parameter and returns a string corresponding to the parameter passed.
  3. create an instance of the new localizer class and assign it to the static DevExpress.XtraNavBar.NavBarLocalizer.Active property.
See Also