In This Article

IBarPopupCommand Interface

Provides the base requirements for a BarCommand that displays popups.

public interface IBarPopupCommand : IHasDefaultCommandLinks

Properties

CanTearOff

Indicates whether the popup menu can be torn-off onto a DockableToolBar.

bool CanTearOff { get; set; }

Property Value

bool:

true if the popup menu can be torn-off onto a DockableToolBar; otherwise, false.

TearOffDockableToolBarKey

The key of the DockableToolBar that is created if a tear-off occurs.

string? TearOffDockableToolBarKey { get; set; }

Property Value

string

UseToolBarStyleForPopupMenu

Indicates whether to display the popup menu using a toolbar style.

bool UseToolBarStyleForPopupMenu { get; set; }

Property Value

bool:

true if a toolbar style should be used; otherwise, false.

Inherited Members

Extension Methods