Skip to main content
Bar

BarSubItem Class

Represents a sub-menu.

Namespace: DevExpress.Xpf.Bars

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

#Declaration

public class BarSubItem :
    BarButtonItem,
    ILinksHolder,
    IMultipleElementRegistratorSupport,
    IBarNameScopeSupport,
    IInputElement,
    ILogicalChildrenContainer,
    IBarsSerializableOwner

#Remarks

The BarSubItem represents a sub-menu capable of displaying various bar item links:

  • regular commands represented by BarButtonItem objects;
  • other sub-menus;
  • editors represented by BarEditItem objects, etc.

BarSubitem

Clicking a BarSubItem link invokes a popup displaying menu items.

Use the BarSubItem.ItemLinks collection to add items to the sub-menu.

BarSubItem objects are displayed on-screen using corresponding bar item links - BarSubItemLink objects. See Items and Links to learn more.

#Implements

See Also