Export (0) Print
Expand All

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
)

Parameters

options
Type: System.ComponentModel.Design.DesignerOptionService.DesignerOptionCollection

The options collection containing the object to be invoked.

optionObject
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
Show:
© 2015 Microsoft