I am facing the issue of validating a property whose validation properties are associated with the corresponding field name.
int _myIntField;
public int MyIntField {
get { return _myIntField; }
set { _myIntField = value; }
}
Now, when validating a Binding
Object, I have access to the BindingField
, which returns the property name MyIntField
, not the field name _myIntField
.
Is it possible to somehow retrieve _myIntField
for the property? If so, how?
Aucun commentaire:
Enregistrer un commentaire