Export (0) Print
Expand All

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)

public virtual Object EditValue (
	ITypeDescriptorContext context,
	IServiceProvider provider,
	Object value
)
public Object EditValue (
	ITypeDescriptorContext context, 
	IServiceProvider provider, 
	Object value
)
public function EditValue (
	context : ITypeDescriptorContext, 
	provider : IServiceProvider, 
	value : Object
) : Object
Not applicable.

Parameters

context

An ITypeDescriptorContext that can be used to gain additional context information.

provider

An IServiceProvider that this editor can use to obtain services.

value

The object to edit.

Return Value

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.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

ADD
Show:
© 2014 Microsoft