DesignerOptionService.ShowDialog Method (DesignerOptionService.DesignerOptionCollection, Object)

 

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
Available since 2.0
Return to top
Show: