Skip to main content
Bar

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 there already exists a bar with this flag enabled.

Namespace: DevExpress.Xpf.Bars

Assembly: DevExpress.Xpf.Core.v14.2.dll

#Declaration

public class InsertMainMenuIfNotExistAction :
    InsertBarAction

#Remarks

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

See Customizing Bars via Actions to learn more.

See Also