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