In This Article

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

Indicates 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; otherwise false.

Methods

AddToolBar()

Enters the 'Add ToolBar' mode.

void AddToolBar()

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.

Enters the 'Add Popup Menu' mode.

void AddToolBarPopupMenuLink(DockableToolBar toolBar)
Parameter Type Description
toolBar DockableToolBar

The DockableToolBar that should be modified.

Close()

void Close()

RebindCommandCategoryDropDownList()

Rebinds the command category drop-down list.

void RebindCommandCategoryDropDownList()

Show()

void Show()

Show(Form?)

void Show(Form? owner)
Parameter Type Description
owner Form

The owner be assigned to the customize form when shown.

Updates the selected command link.

void UpdateSelectedCommandLink(BarCommandLink? commandLink)
Parameter Type Description
commandLink BarCommandLink

The BarCommandLink that was selected.

Inherited Members

Extension Methods