Muokkaa

Jaa


WindowsFormsComponentEditor.EditComponent Method

Definition

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)

Source:
WindowsFormsComponentEditor.cs
Source:
WindowsFormsComponentEditor.cs
Source:
WindowsFormsComponentEditor.cs

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 -> bool
Public Overrides Function EditComponent (context As ITypeDescriptorContext, component As Object) As Boolean

Parameters

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)

Source:
WindowsFormsComponentEditor.cs
Source:
WindowsFormsComponentEditor.cs
Source:
WindowsFormsComponentEditor.cs

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 -> bool
Public Function EditComponent (component As Object, owner As IWin32Window) As Boolean

Parameters

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)

Source:
WindowsFormsComponentEditor.cs
Source:
WindowsFormsComponentEditor.cs
Source:
WindowsFormsComponentEditor.cs

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 -> bool
Public Overridable Function EditComponent (context As ITypeDescriptorContext, component As Object, owner As IWin32Window) As Boolean

Parameters

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.

Applies to