public override void ResetValue(object component) { FieldExpressionList fieldEditors = component as FieldExpressionList; if (fieldEditors != null && fieldEditors.Fields != null) { EPField fld = fieldEditors.Fields[Name]; if (fld != null) { fld.FieldExpression = null; } } }
public override void SetValue(object component, object value) { FieldExpressionList fieldEditors = component as FieldExpressionList; if (fieldEditors != null && fieldEditors.Fields != null) { EPField fld = fieldEditors.Fields[Name]; if (fld != null) { fld.FieldExpression = (string)value; } } }
public override object GetValue(object component) { FieldExpressionList fieldEditors = component as FieldExpressionList; if (fieldEditors != null && fieldEditors.Fields != null) { EPField fld = fieldEditors.Fields[Name]; if (fld != null) { return(fld.FieldExpression); } } return(null); }