Redigera

Dela via


DesignerOptionService.ShowDialog Method

Definition

Shows the options dialog box for the given object.

protected:
 virtual bool ShowDialog(System::ComponentModel::Design::DesignerOptionService::DesignerOptionCollection ^ options, System::Object ^ optionObject);
protected virtual bool ShowDialog (System.ComponentModel.Design.DesignerOptionService.DesignerOptionCollection options, object optionObject);
abstract member ShowDialog : System.ComponentModel.Design.DesignerOptionService.DesignerOptionCollection * obj -> bool
override this.ShowDialog : System.ComponentModel.Design.DesignerOptionService.DesignerOptionCollection * obj -> bool
Protected Overridable Function ShowDialog (options As DesignerOptionService.DesignerOptionCollection, optionObject As Object) As Boolean

Parameters

options
DesignerOptionService.DesignerOptionCollection

The options collection containing the object to be invoked.

optionObject
Object

The actual options object.

Returns

true if the dialog box is shown; otherwise, false.

Remarks

The ShowDialog method must be implemented for the optionObject parameter's options dialog box to be shown.

Notes to Inheritors

The default implementation does nothing and returns false.

Applies to

See also