This documentation is archived and is not being maintained.
WindowsFormsComponentEditor::EditComponent Method (ITypeDescriptorContext, Object, IWin32Window)
Visual Studio 2010
Creates an editor window that allows the user to edit the specified component.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
public: virtual bool EditComponent( ITypeDescriptorContext^ context, Object^ component, IWin32Window^ owner )
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.
- owner
- Type: System.Windows.Forms::IWin32Window
An IWin32Window that the component belongs to.
Return Value
Type: System::Booleantrue if the component was changed during editing; otherwise, false.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: