IBarDesignModeCustomizeForm Interface
Provides the base requirements for a design mode customize form.
public interface IBarDesignModeCustomizeForm : IDisposable
Properties
Owner
Gets or sets the Form that owns this form.
Form Owner { get; set; }
Property Value
TopMost
Gets or sets a value indicating whether the form should be displayed as a topmost form.
bool TopMost { get; set; }
Property Value
- bool:
true
to display the form as a topmost form; otherwise,false
. The default isfalse
.
Visible
Gets or sets a value indicating whether the control and all its child controls are displayed.
bool Visible { get; set; }
Property Value
- bool:
true
if the control and all its child controls are displayed; otherwise,false
. The default istrue
.
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()
Closes the form.
void Close()
RebindCommandCategoryDropDownList()
Rebinds the category drop-down list.
void RebindCommandCategoryDropDownList()
Show()
Displays the form to the user.
void Show()
ShowDialog(IWin32Window)
Shows the form as a modal dialog box with the specified owner.
DialogResult ShowDialog(IWin32Window owner)
Parameter | Type | Description |
---|---|---|
owner | IWin32Window | Any object that implements IWin32Window that represents the top-level window that will own the modal dialog box. |
Returns
- DialogResult:
One of the DialogResult values.
UpdateSelectedCommandLink(BarCommandLink)
Updates the selected command link data.
void UpdateSelectedCommandLink(BarCommandLink commandLink)
Parameter | Type | Description |
---|---|---|
commandLink | BarCommandLink | The BarCommandLink that was selected. |