UITypeEditor.EditValue Method (ITypeDescriptorContext, IServiceProvider, Object)

 

Edits the specified object's value using the editor style indicated by the GetEditStyle method.

Namespace:   System.Drawing.Design
Assembly:  System.Drawing (in System.Drawing.dll)

abstract EditValue : 
        context:ITypeDescriptorContext *
        provider:IServiceProvider *
        value:Object -> Object
override EditValue : 
        context:ITypeDescriptorContext *
        provider:IServiceProvider *
        value:Object -> Object

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.Object

The 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
Return to top
Show: