IBarPopupCommandLink Interface
Provides the base requirements for a BarCommandLink that displays popups.
public interface IBarPopupCommandLink
Properties
CanPopupInCustomizeMode
Indicates whether the popup can show in customize mode.
bool CanPopupInCustomizeMode { get; }
Property Value
- bool:
trueif the popup can show in customize mode; otherwise,false.
CanTearOff
Indicates whether the popup menu can be torn-off onto a DockableToolBar.
bool CanTearOff { get; }
Property Value
- bool:
trueif the popup menu can be torn-off onto a DockableToolBar; otherwise,false.
CommandLinks
The BarCommandLinkCollection containing the command links for use in the button's popup.
TearOffDockableToolBarKey
The key of the DockableToolBar that is created if a tear-off occurs.
UseToolBarStyleForPopupMenu
Indicates whether to display the popup menu using a toolbar style.
bool UseToolBarStyleForPopupMenu { get; }
Property Value
- bool:
trueif a toolbar style should be used; otherwise,false.
Methods
ShowPopup()
Shows the popup for the command link.