IBarDesignModeCustomizeFormManager Interface
Provides the base requirements for interacting with IBarDesignModeCustomizeForm while in design mode.
public interface IBarDesignModeCustomizeFormManager : IDisposable
Remarks
For internal use only.
Properties
IsBarManagerInteractiveModeSupported
Gets if the designer supports directly interacting with BarManager on the designer surface while in customize mode.
bool IsBarManagerInteractiveModeSupported { get; }
Property Value
- bool:
true
if interaction with BarManager is supported; otherwisefalse
.
Methods
AddToolBar()
Enters the Add ToolBar mode.
void AddToolBar()
AddToolBarCommandLink(DockableToolBar, string)
Enters the Add Command Link mode.
void AddToolBarCommandLink(DockableToolBar toolBar, string commandType)
Parameter | Type | Description |
---|---|---|
toolBar | DockableToolBar | The DockableToolBar that should be modified. |
commandType | string | The type of command to add. |
AddToolBarPopupMenuLink(DockableToolBar)
Enters the Add Popup Menu mode.
void AddToolBarPopupMenuLink(DockableToolBar toolBar)
Parameter | Type | Description |
---|---|---|
toolBar | DockableToolBar | The DockableToolBar that should be modified. |
Close()
Hides the IBarDesignModeCustomizeForm.
void Close()
RebindCommandCategoryDropDownList()
Rebinds the command category drop-down list.
void RebindCommandCategoryDropDownList()
Show()
Shows the IBarDesignModeCustomizeForm.
void Show()
Show(Form)
Shows the IBarDesignModeCustomizeForm.
void Show(Form owner)
Parameter | Type | Description |
---|---|---|
owner | Form | The owner be assigned to the customize form when shown. |
UpdateSelectedCommandLink(BarCommandLink)
Updates the selected command link.
void UpdateSelectedCommandLink(BarCommandLink commandLink)
Parameter | Type | Description |
---|---|---|
commandLink | BarCommandLink | The BarCommandLink that was selected. |