public Persist ( object bindableObject, |
||
bindableObject | object | The object where to persist. |
pi | The property of the object where to persist. | |
control | object | The |
return | void |
public virtual void Persist(object bindableObject, PropertyInfo pi, object control)
{
CheckBox c = control as CheckBox;
if (c != null)
{
if (c.Enabled) PropertyHelper.SetValue(bindableObject, pi, (bool?)c.Checked);
}
}