Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ShowDialog Method

DesignerOptionService.ShowDialog Method

Shows the options dialog box for the given object.

Namespace:  System.ComponentModel.Design
Assembly:  System (in System.dll)

protected virtual bool ShowDialog(
	DesignerOptionService.DesignerOptionCollection options,
	Object optionObject


Type: System.ComponentModel.Design.DesignerOptionService.DesignerOptionCollection

The options collection containing the object to be invoked.

Type: System.Object

The actual options object.

Return Value

Type: System.Boolean
true if the dialog box is shown; otherwise, false.

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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft