WindowsFormsComponentEditor.EditComponent Method     
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates an editor window that allows the user to edit the specified component.
Overloads
| EditComponent(ITypeDescriptorContext, Object) | Creates an editor window that allows the user to edit the specified component, using the specified context information. | 
| EditComponent(Object, IWin32Window) | Creates an editor window that allows the user to edit the specified component, using the specified window that owns the component. | 
| EditComponent(ITypeDescriptorContext, Object, IWin32Window) | Creates an editor window that allows the user to edit the specified component. | 
EditComponent(ITypeDescriptorContext, Object)
Creates an editor window that allows the user to edit the specified component, using the specified context information.
public:
 override bool EditComponent(System::ComponentModel::ITypeDescriptorContext ^ context, System::Object ^ component);public override bool EditComponent(System.ComponentModel.ITypeDescriptorContext context, object component);public override bool EditComponent(System.ComponentModel.ITypeDescriptorContext? context, object component);override this.EditComponent : System.ComponentModel.ITypeDescriptorContext * obj -> boolPublic Overrides Function EditComponent (context As ITypeDescriptorContext, component As Object) As BooleanParameters
- context
- ITypeDescriptorContext
An ITypeDescriptorContext that can be used to gain additional context information.
- component
- Object
The component to edit.
Returns
true if the component was changed during editing; otherwise, false.
Applies to
EditComponent(Object, IWin32Window)
Creates an editor window that allows the user to edit the specified component, using the specified window that owns the component.
public:
 bool EditComponent(System::Object ^ component, System::Windows::Forms::IWin32Window ^ owner);public bool EditComponent(object component, System.Windows.Forms.IWin32Window owner);public bool EditComponent(object component, System.Windows.Forms.IWin32Window? owner);override this.EditComponent : obj * System.Windows.Forms.IWin32Window -> boolPublic Function EditComponent (component As Object, owner As IWin32Window) As BooleanParameters
- component
- Object
The component to edit.
- owner
- IWin32Window
An IWin32Window that the component belongs to.
Returns
true if the component was changed during editing; otherwise, false.
Applies to
EditComponent(ITypeDescriptorContext, Object, IWin32Window)
Creates an editor window that allows the user to edit the specified component.
public:
 virtual bool EditComponent(System::ComponentModel::ITypeDescriptorContext ^ context, System::Object ^ component, System::Windows::Forms::IWin32Window ^ owner);public virtual bool EditComponent(System.ComponentModel.ITypeDescriptorContext context, object component, System.Windows.Forms.IWin32Window owner);public virtual bool EditComponent(System.ComponentModel.ITypeDescriptorContext? context, object component, System.Windows.Forms.IWin32Window? owner);override this.EditComponent : System.ComponentModel.ITypeDescriptorContext * obj * System.Windows.Forms.IWin32Window -> boolPublic Overridable Function EditComponent (context As ITypeDescriptorContext, component As Object, owner As IWin32Window) As BooleanParameters
- context
- ITypeDescriptorContext
An ITypeDescriptorContext that can be used to gain additional context information.
- component
- Object
The component to edit.
- owner
- IWin32Window
An IWin32Window that the component belongs to.
Returns
true if the component was changed during editing; otherwise, false.