public ConvertbackValue ( object value ) : object | ||
value | object | |
Résultat | object |
public T ConvertBack <T>() { object sourceValue = ControlValue; sourceValue = BindingExpression.ConvertbackValue(sourceValue); return((T)sourceValue); }
public object ConvertBack(object value, Type convertType) { object sourceValue = value; sourceValue = BindingExpression.ConvertbackValue(sourceValue); return(sourceValue); }
public void Update(object value) { ControlValue = value; if (BindingExpression != null && BindingExpression.Binding != null && BindingExpression.Binding.Mode == BindingMode.TwoWay) { value = BindingExpression.ConvertbackValue(value); BindingExpression.UpdateSource(); } }