Method EditValue
- Namespace
- Bonsai.Scripting.Expressions.Design
- Assembly
- Bonsai.Scripting.Expressions.Design.dll
EditValue(ITypeDescriptorContext, IServiceProvider, object)
Edits the specified object's value using the editor style indicated by the GetEditStyle() method.
public override object EditValue(ITypeDescriptorContext context, IServiceProvider provider, object value)Parameters
- contextITypeDescriptorContext
- An ITypeDescriptorContext that can be used to gain additional context information. 
- providerIServiceProvider
- An IServiceProvider that this editor can use to obtain services. 
- valueobject
- The object to edit. 
Returns
- 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.