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