11 references to ValidationRules
PresentationFramework (11)
System\Windows\Controls\DataGrid.cs (5)
954
_defaultBindingGroup.
ValidationRules
.Add(rule);
962
_defaultBindingGroup.
ValidationRules
.Remove(rule);
970
_defaultBindingGroup.
ValidationRules
.Remove(rule);
975
_defaultBindingGroup.
ValidationRules
.Add(rule);
981
_defaultBindingGroup.
ValidationRules
.Clear();
System\Windows\Data\BindingGroup.cs (6)
898
if (
ValidationRules
!= null)
900
for (int i=
ValidationRules
.Count-1; i>=0; --i)
902
if (
ValidationRules
[i].ValidatesOnTargetUpdated)
955
if (mentor == null ||
ValidationRules
.Count == 0)
983
for (int i=0, n=
ValidationRules
.Count; i<n; ++i)
985
ValidationRule rule =
ValidationRules
[i];