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