WindowsFormsComponentEditor.EditComponent Metodo

Definizione

Crea una finestra dell'editor che consente all'utente di modificare il componente specificato.

Overload

Nome Descrizione
EditComponent(ITypeDescriptorContext, Object)

Crea una finestra dell'editor che consente all'utente di modificare il componente specificato, utilizzando le informazioni di contesto specificate.

EditComponent(Object, IWin32Window)

Crea una finestra dell'editor che consente all'utente di modificare il componente specificato, utilizzando la finestra specificata proprietaria del componente.

EditComponent(ITypeDescriptorContext, Object, IWin32Window)

Crea una finestra dell'editor che consente all'utente di modificare il componente specificato.

EditComponent(ITypeDescriptorContext, Object)

Origine:
WindowsFormsComponentEditor.cs
Origine:
WindowsFormsComponentEditor.cs
Origine:
WindowsFormsComponentEditor.cs
Origine:
WindowsFormsComponentEditor.cs
Origine:
WindowsFormsComponentEditor.cs

Crea una finestra dell'editor che consente all'utente di modificare il componente specificato, utilizzando le informazioni di contesto specificate.

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

Parametri

context
ITypeDescriptorContext

Oggetto ITypeDescriptorContext che può essere utilizzato per ottenere informazioni di contesto aggiuntive.

component
Object

Componente da modificare.

Valori restituiti

true se il componente è stato modificato durante la modifica; in caso contrario, false.

Si applica a

EditComponent(Object, IWin32Window)

Origine:
WindowsFormsComponentEditor.cs
Origine:
WindowsFormsComponentEditor.cs
Origine:
WindowsFormsComponentEditor.cs
Origine:
WindowsFormsComponentEditor.cs
Origine:
WindowsFormsComponentEditor.cs

Crea una finestra dell'editor che consente all'utente di modificare il componente specificato, utilizzando la finestra specificata proprietaria del componente.

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

Parametri

component
Object

Componente da modificare.

owner
IWin32Window

Oggetto IWin32Window a cui appartiene il componente.

Valori restituiti

true se il componente è stato modificato durante la modifica; in caso contrario, false.

Si applica a

EditComponent(ITypeDescriptorContext, Object, IWin32Window)

Origine:
WindowsFormsComponentEditor.cs
Origine:
WindowsFormsComponentEditor.cs
Origine:
WindowsFormsComponentEditor.cs
Origine:
WindowsFormsComponentEditor.cs
Origine:
WindowsFormsComponentEditor.cs

Crea una finestra dell'editor che consente all'utente di modificare il componente specificato.

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

Parametri

context
ITypeDescriptorContext

Oggetto ITypeDescriptorContext che può essere utilizzato per ottenere informazioni di contesto aggiuntive.

component
Object

Componente da modificare.

owner
IWin32Window

Oggetto IWin32Window a cui appartiene il componente.

Valori restituiti

true se il componente è stato modificato durante la modifica; in caso contrario, false.

Si applica a