2 instantiations of BindingGroup
PresentationFramework (2)
System\Windows\Controls\DataGrid.cs (1)
7584_defaultBindingGroup = new BindingGroup();
System\Windows\Controls\ItemsControl.cs (1)
1387(itemBindingGroup != null) ? new BindingGroup(itemBindingGroup)
104 references to BindingGroup
PresentationFramework (104)
MS\Internal\Data\ClrBindingWorker.cs (1)
353BindingGroup bindingGroup = parent.BindingGroup;
MS\Internal\Data\CommitManager.cs (13)
30internal void AddBindingGroup(BindingGroup bindingGroup) 35internal void RemoveBindingGroup(BindingGroup bindingGroup) 50internal List<BindingGroup> GetBindingGroupsInScope(DependencyObject element) 54List<BindingGroup> fullList = _bindingGroups.ToList(); 55List<BindingGroup> list = EmptyBindingGroupList; 57foreach (BindingGroup bindingGroup in fullList) 64list = new List<BindingGroup>(); 120List<BindingGroup> list = _bindingGroups.ToList(); 121foreach (BindingGroup bindingGroup in list) 147Set<BindingGroup> _bindingGroups = new Set<BindingGroup>(); 150static readonly List<BindingGroup> EmptyBindingGroupList = new List<BindingGroup>();
System\Windows\Controls\DataErrorValidationRule.cs (2)
45BindingGroup bindingGroup; 48if ((bindingGroup = value as BindingGroup) != null)
System\Windows\Controls\DataGrid.cs (4)
2261var bindingGroup = cell.RowOwner.BindingGroup; 2380var bindingGroup = cell.RowOwner.BindingGroup; 2551var bindingGroup = cell.RowOwner.BindingGroup; 8667private 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)
390var bindingGroup = row.BindingGroup; 426private void RemoveBindingExpressions(BindingGroup bindingGroup, DependencyObject element)
System\Windows\Controls\DataGridHelper.cs (2)
531BindingGroup bindingGroup = element.BindingGroup; 647BindingGroup bindingGroup = element.BindingGroup;
System\Windows\Controls\DataGridRow.cs (2)
966var bindingGroup = (BindingGroup)arg;
System\Windows\Controls\ItemsControl.cs (11)
613typeof(BindingGroup), 616(BindingGroup) null, 627public BindingGroup ItemBindingGroup 629get { return (BindingGroup) GetValue(ItemBindingGroupProperty); } 640ctrl.OnItemBindingGroupChanged((BindingGroup) e.OldValue, (BindingGroup) e.NewValue); 648protected virtual void OnItemBindingGroupChanged(BindingGroup oldItemBindingGroup, BindingGroup newItemBindingGroup) 1385BindingGroup itemBindingGroup = ItemBindingGroup; 1386BindingGroup containerBindingGroup = 1761BindingGroup itemBindingGroup = parentItemsControl.ItemBindingGroup;
System\Windows\Controls\ValidationRule.cs (1)
69public virtual ValidationResult Validate(object value, CultureInfo cultureInfo, BindingGroup owner)
System\Windows\Data\BindingBase.cs (1)
147/// <summary> Name of the <see cref="BindingGroup"/> this binding should join.
System\Windows\Data\BindingExpression.cs (8)
286internal override void UpdateBindingGroup(BindingGroup bg) 1061BindingGroup bindingGroup = RootBindingExpression.FindBindingGroup(true, ContextElement); 1062BindingGroup.ProposedValueEntry entry; 1966internal override bool ObtainConvertedProposedValue(BindingGroup bindingGroup) 1985value = BindingGroup.DeferredSourceValue; 2061internal override bool UpdateSource(BindingGroup bindingGroup) 2080internal override void StoreValueInBindingGroup(object value, BindingGroup bindingGroup) 2135internal override bool CheckValidationRules(BindingGroup bindingGroup, ValidationStep validationStep)
System\Windows\Data\BindingExpressionBase.cs (28)
207public BindingGroup BindingGroup 212WeakReference<BindingGroup> wr = (WeakReference<BindingGroup>)root.GetValue(Feature.BindingGroup, null); 217BindingGroup bg; 1069internal abstract void UpdateBindingGroup(BindingGroup bg); 1131internal abstract bool ObtainConvertedProposedValue(BindingGroup bindingGroup); 1141internal abstract bool UpdateSource(BindingGroup bindingGroup); 1154internal abstract void StoreValueInBindingGroup(object value, BindingGroup bindingGroup); 1223internal abstract bool CheckValidationRules(BindingGroup bindingGroup, ValidationStep validationStep); 1645BindingGroup bindingGroup = RootBindingExpression.FindBindingGroup(isReflective, contextElement); 1657BindingGroup bg = root.BindingGroup; 1670BindingGroup oldBindingGroup = root.BindingGroup; 1673BindingGroup newBindingGroup; 1674WeakReference<BindingGroup> oldBindingGroupWR = (WeakReference<BindingGroup>)root.GetValue(Feature.BindingGroup, null); 1697internal BindingGroup FindBindingGroup(bool isReflective, DependencyObject contextElement) 1702if ((WeakReference<BindingGroup>)GetValue(Feature.BindingGroup, null) != null) 1707BindingGroup bg; 1730bg = (BindingGroup)contextElement.GetValue(FrameworkElement.BindingGroupProperty); 1760BindingGroup bgCandidate = (BindingGroup)fo.DO.GetValue(bindingGroupDP); 1800internal void JoinBindingGroup(BindingGroup bg, bool explicitJoin) 1821root.SetValue(Feature.BindingGroup, new WeakReference<BindingGroup>(bg)); 1873BindingGroup bg = root.BindingGroup; 2396BindingGroup bindingGroup = BindingGroup; 2412BindingGroup bindingGroup = BindingGroup; 2959static readonly WeakReference<BindingGroup> NullBindingGroupReference = new WeakReference<BindingGroup>(null);
System\Windows\Data\BindingGroup.cs (9)
52internal BindingGroup(BindingGroup master) 580if (property != null && property.PropertyType != typeof(BindingGroup) && 1682if (itemWR != null && BindingGroup.FindIndexOf(itemWR, list) < 0) 1711_table[i].Value = BindingGroup.DeferredTargetValue; 1722_table[i].Value = BindingGroup.DeferredSourceValue; 1787if (_value == BindingGroup.DeferredTargetValue) 1791else if (_value == BindingGroup.DeferredSourceValue) 1806object _value = BindingGroup.DeferredTargetValue; 1891if (itemWR != null && BindingGroup.FindIndexOf(itemWR, list) < 0)
System\Windows\Data\BindingOperations.cs (3)
398public static ReadOnlyCollection<BindingGroup> GetSourceUpdatingBindingGroups(DependencyObject root) 400List<BindingGroup> list = DataBindEngine.CurrentDataBindEngine.CommitManager.GetBindingGroupsInScope(root); 401return new ReadOnlyCollection<BindingGroup>(list);
System\Windows\Data\MultiBindingExpression.cs (5)
481internal override void UpdateBindingGroup(BindingGroup bg) 650internal override bool ObtainConvertedProposedValue(BindingGroup bindingGroup) 738internal override bool UpdateSource(BindingGroup bindingGroup) 756internal override void StoreValueInBindingGroup(object value, BindingGroup bindingGroup) 846internal override bool CheckValidationRules(BindingGroup bindingGroup, ValidationStep validationStep)
System\Windows\Data\PriorityBindingExpression.cs (5)
315internal override void UpdateBindingGroup(BindingGroup bg) 359internal override bool ObtainConvertedProposedValue(BindingGroup bindingGroup) 398internal override bool UpdateSource(BindingGroup bindingGroup) 417internal override void StoreValueInBindingGroup(object value, BindingGroup bindingGroup) 442internal override bool CheckValidationRules(BindingGroup bindingGroup, ValidationStep validationStep)
System\Windows\FrameworkContentElement.cs (2)
1216public BindingGroup BindingGroup 1218get { return (BindingGroup)GetValue(BindingGroupProperty); }
System\Windows\FrameworkElement.cs (3)
2790typeof(BindingGroup), 2800public BindingGroup BindingGroup 2802get { return (BindingGroup)GetValue(BindingGroupProperty); }
System\Windows\HierarchicalDataTemplate.cs (2)
176public BindingGroup ItemBindingGroup 243private BindingGroup _itemBindingGroup;