WindowsFormsComponentEditor.EditComponent Method (ITypeDescriptorContext, Object)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Creates an editor window that allows the user to edit the specified component, using the specified context information.

Namespace:   System.Windows.Forms.Design
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public override bool EditComponent(
	ITypeDescriptorContext context,
	object component
)

Parameters

context
Type: System.ComponentModel.ITypeDescriptorContext

An ITypeDescriptorContext that can be used to gain additional context information.

component
Type: System.Object

The component to edit.

Return Value

Type: System.Boolean

true if the component was changed during editing; otherwise, false.

.NET Framework
Available since 1.1
Return to top
Show: