Method EditComponent
EditComponent(object, IServiceProvider, IWin32Window)
Edits the component and returns a value indicating whether the component was modified using the specified service provider and a parent window handle.
public bool EditComponent(object component, IServiceProvider provider, IWin32Window owner)
Parameters
componentobjectThe component to be edited.
providerIServiceProviderA service provider that this editor can use to obtain services.
ownerIWin32WindowThe window handle which contains any editor dialogs.
Returns
EditComponent(ITypeDescriptorContext, object)
Edits the component and returns a value indicating whether the component was modified based upon a given context.
public override bool EditComponent(ITypeDescriptorContext context, object component)
Parameters
contextITypeDescriptorContextAn optional context object that can be used to obtain further information about the edit.
componentobjectThe component to be edited.
Returns
EditComponent(ITypeDescriptorContext, object, IServiceProvider, IWin32Window)
Edits the component and returns a value indicating whether the component was modified using the specified context and a parent window handle.
public abstract bool EditComponent(ITypeDescriptorContext context, object component, IServiceProvider provider, IWin32Window owner)
Parameters
contextITypeDescriptorContextAn optional context object that can be used to obtain further information about the edit.
componentobjectThe component to be edited.
providerIServiceProviderA service provider that this editor can use to obtain services.
ownerIWin32WindowThe window handle which contains any editor dialogs.