UITypeEditor.EditValue Method (ITypeDescriptorContext, IServiceProvider, Object)
.NET Framework (current version)
Edits the specified object's value using the editor style indicated by the GetEditStyle method.
Assembly: System.Drawing (in System.Drawing.dll)
public virtual object EditValue( ITypeDescriptorContext context, IServiceProvider provider, object value )
Parameters
- context
-
Type:
System.ComponentModel.ITypeDescriptorContext
An ITypeDescriptorContext that can be used to gain additional context information.
- provider
-
Type:
System.IServiceProvider
An IServiceProvider that this editor can use to obtain services.
- value
-
Type:
System.Object
The object to edit.
Return Value
Type: System.ObjectThe new value of the object. If the value of the object has not changed, this should return the same object it was passed.
A service provider is provided so that the editor can obtain any required services.
.NET Framework
Available since 1.1
Available since 1.1
Show: