TreeNodeCollectionEditor.EditValue Method (ITypeDescriptorContext, IServiceProvider, Object)

 

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

Namespace:   System.Web.UI.Design.WebControls
Assembly:  System.Design (in System.Design.dll)

public override 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.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.

.NET Framework
Available since 2.0
Return to top
Show: