Click or drag to resize
Accord.NET (logo)

NumericCollectionEditorEditValue Method (ITypeDescriptorContext, IServiceProvider, Object)

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

Namespace:  Accord.Controls
Assembly:  Accord.Controls (in Accord.Controls.dll) Version: 3.8.0
Syntax
public override Object EditValue(
	ITypeDescriptorContext context,
	IServiceProvider provider,
	Object value
)
Request Example View Source

Parameters

context
Type: System.ComponentModelITypeDescriptorContext
An ITypeDescriptorContext that can be used to gain additional context information.
provider
Type: SystemIServiceProvider
An IServiceProvider that this editor can use to obtain services.
value
Type: SystemObject
The object to edit.

Return Value

Type: 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.
See Also