WindowsFormsComponentEditor::EditComponent Method (ITypeDescriptorContext^, Object^)

 

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:
virtual bool EditComponent(
	ITypeDescriptorContext^ context,
	Object^ component
) override

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: