11 references to ValidationRules
PresentationFramework (11)
src\Framework\System\Windows\Controls\DataGrid.cs (5)
958
_defaultBindingGroup.
ValidationRules
.Add(rule);
966
_defaultBindingGroup.
ValidationRules
.Remove(rule);
974
_defaultBindingGroup.
ValidationRules
.Remove(rule);
979
_defaultBindingGroup.
ValidationRules
.Add(rule);
985
_defaultBindingGroup.
ValidationRules
.Clear();
src\Framework\System\Windows\Data\BindingGroup.cs (6)
905
if (
ValidationRules
!= null)
907
for (int i=
ValidationRules
.Count-1; i>=0; --i)
909
if (
ValidationRules
[i].ValidatesOnTargetUpdated)
962
if (mentor == null ||
ValidationRules
.Count == 0)
990
for (int i=0, n=
ValidationRules
.Count; i<n; ++i)
992
ValidationRule rule =
ValidationRules
[i];