Back to Devexpress

InsertMainMenuIfNotExistAction Class

wpf-devexpress-dot-xpf-dot-bars-1ed97480.md

latest2.2 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
[Browsable(false)]
public class InsertMainMenuIfNotExistAction :
    InsertBarAction
vb
<Browsable(False)>
Public Class InsertMainMenuIfNotExistAction
    Inherits InsertBarAction

Remarks

The InsertMainMenuIfNotExistAction action can be used in the same manner as the InsertBarAction object.

See Bar Actions to learn more.

Implements

IControllerAction

Inheritance

Object DispatcherObject DependencyObject ContentElement FrameworkContentElement DXFrameworkContentElement BarManagerControllerActionBase InsertBarAction InsertMainMenuIfNotExistAction

See Also

InsertMainMenuIfNotExistAction Members

Bar Actions

DevExpress.Xpf.Bars Namespace