2 instantiations of BindingGroup
PresentationFramework (2)
System\Windows\Controls\DataGrid.cs (1)
7581_defaultBindingGroup = new BindingGroup();
System\Windows\Controls\ItemsControl.cs (1)
1378(itemBindingGroup != null) ? new BindingGroup(itemBindingGroup)
104 references to BindingGroup
PresentationFramework (104)
MS\Internal\Data\ClrBindingWorker.cs (1)
344BindingGroup bindingGroup = parent.BindingGroup;
MS\Internal\Data\CommitManager.cs (13)
24internal void AddBindingGroup(BindingGroup bindingGroup) 29internal void RemoveBindingGroup(BindingGroup bindingGroup) 44internal List<BindingGroup> GetBindingGroupsInScope(DependencyObject element) 48List<BindingGroup> fullList = _bindingGroups.ToList(); 49List<BindingGroup> list = EmptyBindingGroupList; 51foreach (BindingGroup bindingGroup in fullList) 58list = new List<BindingGroup>(); 114List<BindingGroup> list = _bindingGroups.ToList(); 115foreach (BindingGroup bindingGroup in list) 141Set<BindingGroup> _bindingGroups = new Set<BindingGroup>(); 144static readonly List<BindingGroup> EmptyBindingGroupList = new List<BindingGroup>();
System\Windows\Controls\DataErrorValidationRule.cs (2)
41BindingGroup bindingGroup; 44if ((bindingGroup = value as BindingGroup) != null)
System\Windows\Controls\DataGrid.cs (4)
2258var bindingGroup = cell.RowOwner.BindingGroup; 2377var bindingGroup = cell.RowOwner.BindingGroup; 2548var bindingGroup = cell.RowOwner.BindingGroup; 8664private BindingGroup _defaultBindingGroup; // Cached copy of the BindingGroup created for row validation...so we dont stomp on user set ItemBindingGroup
System\Windows\Controls\DataGridCell.cs (2)
383var bindingGroup = row.BindingGroup; 419private void RemoveBindingExpressions(BindingGroup bindingGroup, DependencyObject element)
System\Windows\Controls\DataGridHelper.cs (2)
525BindingGroup bindingGroup = element.BindingGroup; 641BindingGroup bindingGroup = element.BindingGroup;
System\Windows\Controls\DataGridRow.cs (2)
962var bindingGroup = (BindingGroup)arg;
System\Windows\Controls\ItemsControl.cs (11)
604typeof(BindingGroup), 607(BindingGroup) null, 618public BindingGroup ItemBindingGroup 620get { return (BindingGroup) GetValue(ItemBindingGroupProperty); } 631ctrl.OnItemBindingGroupChanged((BindingGroup) e.OldValue, (BindingGroup) e.NewValue); 639protected virtual void OnItemBindingGroupChanged(BindingGroup oldItemBindingGroup, BindingGroup newItemBindingGroup) 1376BindingGroup itemBindingGroup = ItemBindingGroup; 1377BindingGroup containerBindingGroup = 1752BindingGroup itemBindingGroup = parentItemsControl.ItemBindingGroup;
System\Windows\Controls\ValidationRule.cs (1)
68public virtual ValidationResult Validate(object value, CultureInfo cultureInfo, BindingGroup owner)
System\Windows\Data\BindingBase.cs (1)
145/// <summary> Name of the <see cref="BindingGroup"/> this binding should join.
System\Windows\Data\BindingExpression.cs (8)
277internal override void UpdateBindingGroup(BindingGroup bg) 1052BindingGroup bindingGroup = RootBindingExpression.FindBindingGroup(true, ContextElement); 1053BindingGroup.ProposedValueEntry entry; 1957internal override bool ObtainConvertedProposedValue(BindingGroup bindingGroup) 1976value = BindingGroup.DeferredSourceValue; 2052internal override bool UpdateSource(BindingGroup bindingGroup) 2071internal override void StoreValueInBindingGroup(object value, BindingGroup bindingGroup) 2126internal override bool CheckValidationRules(BindingGroup bindingGroup, ValidationStep validationStep)
System\Windows\Data\BindingExpressionBase.cs (28)
199public BindingGroup BindingGroup 204WeakReference<BindingGroup> wr = (WeakReference<BindingGroup>)root.GetValue(Feature.BindingGroup, null); 209BindingGroup bg; 1061internal abstract void UpdateBindingGroup(BindingGroup bg); 1123internal abstract bool ObtainConvertedProposedValue(BindingGroup bindingGroup); 1133internal abstract bool UpdateSource(BindingGroup bindingGroup); 1146internal abstract void StoreValueInBindingGroup(object value, BindingGroup bindingGroup); 1215internal abstract bool CheckValidationRules(BindingGroup bindingGroup, ValidationStep validationStep); 1637BindingGroup bindingGroup = RootBindingExpression.FindBindingGroup(isReflective, contextElement); 1649BindingGroup bg = root.BindingGroup; 1662BindingGroup oldBindingGroup = root.BindingGroup; 1665BindingGroup newBindingGroup; 1666WeakReference<BindingGroup> oldBindingGroupWR = (WeakReference<BindingGroup>)root.GetValue(Feature.BindingGroup, null); 1689internal BindingGroup FindBindingGroup(bool isReflective, DependencyObject contextElement) 1694if ((WeakReference<BindingGroup>)GetValue(Feature.BindingGroup, null) != null) 1699BindingGroup bg; 1722bg = (BindingGroup)contextElement.GetValue(FrameworkElement.BindingGroupProperty); 1752BindingGroup bgCandidate = (BindingGroup)fo.DO.GetValue(bindingGroupDP); 1792internal void JoinBindingGroup(BindingGroup bg, bool explicitJoin) 1813root.SetValue(Feature.BindingGroup, new WeakReference<BindingGroup>(bg)); 1865BindingGroup bg = root.BindingGroup; 2388BindingGroup bindingGroup = BindingGroup; 2404BindingGroup bindingGroup = BindingGroup; 2951static readonly WeakReference<BindingGroup> NullBindingGroupReference = new WeakReference<BindingGroup>(null);
System\Windows\Data\BindingGroup.cs (9)
47internal BindingGroup(BindingGroup master) 575if (property != null && property.PropertyType != typeof(BindingGroup) && 1677if (itemWR != null && BindingGroup.FindIndexOf(itemWR, list) < 0) 1706_table[i].Value = BindingGroup.DeferredTargetValue; 1717_table[i].Value = BindingGroup.DeferredSourceValue; 1782if (_value == BindingGroup.DeferredTargetValue) 1786else if (_value == BindingGroup.DeferredSourceValue) 1801object _value = BindingGroup.DeferredTargetValue; 1886if (itemWR != null && BindingGroup.FindIndexOf(itemWR, list) < 0)
System\Windows\Data\BindingOperations.cs (3)
389public static ReadOnlyCollection<BindingGroup> GetSourceUpdatingBindingGroups(DependencyObject root) 391List<BindingGroup> list = DataBindEngine.CurrentDataBindEngine.CommitManager.GetBindingGroupsInScope(root); 392return new ReadOnlyCollection<BindingGroup>(list);
System\Windows\Data\MultiBindingExpression.cs (5)
470internal override void UpdateBindingGroup(BindingGroup bg) 639internal override bool ObtainConvertedProposedValue(BindingGroup bindingGroup) 727internal override bool UpdateSource(BindingGroup bindingGroup) 745internal override void StoreValueInBindingGroup(object value, BindingGroup bindingGroup) 835internal override bool CheckValidationRules(BindingGroup bindingGroup, ValidationStep validationStep)
System\Windows\Data\PriorityBindingExpression.cs (5)
308internal override void UpdateBindingGroup(BindingGroup bg) 352internal override bool ObtainConvertedProposedValue(BindingGroup bindingGroup) 391internal override bool UpdateSource(BindingGroup bindingGroup) 410internal override void StoreValueInBindingGroup(object value, BindingGroup bindingGroup) 435internal override bool CheckValidationRules(BindingGroup bindingGroup, ValidationStep validationStep)
System\Windows\FrameworkContentElement.cs (2)
1204public BindingGroup BindingGroup 1206get { return (BindingGroup)GetValue(BindingGroupProperty); }
System\Windows\FrameworkElement.cs (3)
2779typeof(BindingGroup), 2789public BindingGroup BindingGroup 2791get { return (BindingGroup)GetValue(BindingGroupProperty); }
System\Windows\HierarchicalDataTemplate.cs (2)
176public BindingGroup ItemBindingGroup 243private BindingGroup _itemBindingGroup;