IBarPopupCommand Interface
Provides the base requirements for a BarCommand that displays popups.
public interface IBarPopupCommand : IHasDefaultCommandLinks
Properties
CanTearOff
Gets or sets 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
Gets or sets the key of the DockableToolBar that is created if a tear-off occurs.
string TearOffDockableToolBarKey { get; set; }
Property Value
- string:
The key of the DockableToolBar that is created if a tear-off occurs.
UseToolBarStyleForPopupMenu
Gets or sets 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
.