InsertMainMenuIfNotExistAction Class
Inserts a bar at a specific position within the BarManager.Bars collection and sets the Bar.IsMainMenu flag for it. The action does nothing if a bar already exists with this flag enabled.
Namespace: DevExpress.Xpf.Bars
Assembly: DevExpress.Xpf.Core.v19.1.dll
Declaration
Remarks
The InsertMainMenuIfNotExistAction action can be used in the same manner as the InsertBarAction object.
See Bar Actions to learn more.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the InsertMainMenuIfNotExistAction class.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.