UITypeEditor.EditValue Method (IServiceProvider, Object)

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

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

public:
Object^ EditValue (
	IServiceProvider^ provider, 
	Object^ value
)
public Object EditValue (
	IServiceProvider provider, 
	Object value
)
public function EditValue (
	provider : IServiceProvider, 
	value : Object
) : Object
Not applicable.

Parameters

provider

An IServiceProvider that this editor can use to obtain services.

value

The object to edit.

Return Value

The new value of the object.

This method launches the user interface for value editing, and is called by the Properties window when a user attempts to edit the value of a type that this editor is configured to edit the value of. 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: