2 instantiations of BindingGroup
PresentationFramework (2)
src\Framework\System\Windows\Controls\DataGrid.cs (1)
7587
_defaultBindingGroup = new
BindingGroup
();
src\Framework\System\Windows\Controls\ItemsControl.cs (1)
1391
(itemBindingGroup != null) ? new
BindingGroup
(itemBindingGroup)
104 references to BindingGroup
PresentationFramework (104)
src\Framework\MS\Internal\Data\ClrBindingWorker.cs (1)
355
BindingGroup
bindingGroup = parent.BindingGroup;
src\Framework\MS\Internal\Data\CommitManager.cs (13)
34
internal void AddBindingGroup(
BindingGroup
bindingGroup)
39
internal void RemoveBindingGroup(
BindingGroup
bindingGroup)
54
internal List<
BindingGroup
> GetBindingGroupsInScope(DependencyObject element)
58
List<
BindingGroup
> fullList = _bindingGroups.ToList();
59
List<
BindingGroup
> list = EmptyBindingGroupList;
61
foreach (
BindingGroup
bindingGroup in fullList)
68
list = new List<
BindingGroup
>();
124
List<
BindingGroup
> list = _bindingGroups.ToList();
125
foreach (
BindingGroup
bindingGroup in list)
151
Set<
BindingGroup
> _bindingGroups = new Set<
BindingGroup
>();
154
static readonly List<
BindingGroup
> EmptyBindingGroupList = new List<
BindingGroup
>();
src\Framework\System\Windows\Controls\DataErrorValidationRule.cs (2)
49
BindingGroup
bindingGroup;
52
if ((bindingGroup = value as
BindingGroup
) != null)
src\Framework\System\Windows\Controls\DataGrid.cs (4)
2265
var
bindingGroup = cell.RowOwner.BindingGroup;
2385
var
bindingGroup = cell.RowOwner.BindingGroup;
2556
var
bindingGroup = cell.RowOwner.BindingGroup;
8694
private
BindingGroup
_defaultBindingGroup; // Cached copy of the BindingGroup created for row validation...so we dont stomp on user set ItemBindingGroup
src\Framework\System\Windows\Controls\DataGridCell.cs (2)
385
var
bindingGroup = row.BindingGroup;
421
private void RemoveBindingExpressions(
BindingGroup
bindingGroup, DependencyObject element)
src\Framework\System\Windows\Controls\DataGridHelper.cs (2)
532
BindingGroup
bindingGroup = element.BindingGroup;
646
BindingGroup
bindingGroup = element.BindingGroup;
src\Framework\System\Windows\Controls\DataGridRow.cs (2)
967
var
bindingGroup = (
BindingGroup
)arg;
src\Framework\System\Windows\Controls\ItemsControl.cs (11)
615
typeof(
BindingGroup
),
618
(
BindingGroup
) null,
629
public
BindingGroup
ItemBindingGroup
631
get { return (
BindingGroup
) GetValue(ItemBindingGroupProperty); }
642
ctrl.OnItemBindingGroupChanged((
BindingGroup
) e.OldValue, (
BindingGroup
) e.NewValue);
650
protected virtual void OnItemBindingGroupChanged(
BindingGroup
oldItemBindingGroup,
BindingGroup
newItemBindingGroup)
1389
BindingGroup
itemBindingGroup = ItemBindingGroup;
1390
BindingGroup
containerBindingGroup =
1764
BindingGroup
itemBindingGroup = parentItemsControl.ItemBindingGroup;
src\Framework\System\Windows\Controls\ValidationRule.cs (1)
76
public virtual ValidationResult Validate(object value, CultureInfo cultureInfo,
BindingGroup
owner)
src\Framework\System\Windows\Data\BindingBase.cs (1)
150
/// <summary> Name of the <see cref="
BindingGroup
"/> this binding should join.
src\Framework\System\Windows\Data\BindingExpression.cs (8)
291
internal override void UpdateBindingGroup(
BindingGroup
bg)
1056
BindingGroup
bindingGroup = RootBindingExpression.FindBindingGroup(true, ContextElement);
1057
BindingGroup
.ProposedValueEntry entry;
1946
internal override bool ObtainConvertedProposedValue(
BindingGroup
bindingGroup)
1965
value =
BindingGroup
.DeferredSourceValue;
2041
internal override bool UpdateSource(
BindingGroup
bindingGroup)
2060
internal override void StoreValueInBindingGroup(object value,
BindingGroup
bindingGroup)
2115
internal override bool CheckValidationRules(
BindingGroup
bindingGroup, ValidationStep validationStep)
src\Framework\System\Windows\Data\BindingExpressionBase.cs (28)
210
public
BindingGroup
BindingGroup
215
WeakReference<
BindingGroup
> wr = (WeakReference<
BindingGroup
>)root.GetValue(Feature.BindingGroup, null);
220
BindingGroup
bg;
1073
internal abstract void UpdateBindingGroup(
BindingGroup
bg);
1135
internal abstract bool ObtainConvertedProposedValue(
BindingGroup
bindingGroup);
1145
internal abstract bool UpdateSource(
BindingGroup
bindingGroup);
1158
internal abstract void StoreValueInBindingGroup(object value,
BindingGroup
bindingGroup);
1226
internal abstract bool CheckValidationRules(
BindingGroup
bindingGroup, ValidationStep validationStep);
1638
BindingGroup
bindingGroup = RootBindingExpression.FindBindingGroup(isReflective, contextElement);
1650
BindingGroup
bg = root.BindingGroup;
1663
BindingGroup
oldBindingGroup = root.BindingGroup;
1666
BindingGroup
newBindingGroup;
1667
WeakReference<
BindingGroup
> oldBindingGroupWR = (WeakReference<
BindingGroup
>)root.GetValue(Feature.BindingGroup, null);
1690
internal
BindingGroup
FindBindingGroup(bool isReflective, DependencyObject contextElement)
1695
if ((WeakReference<
BindingGroup
>)GetValue(Feature.BindingGroup, null) != null)
1700
BindingGroup
bg;
1723
bg = (
BindingGroup
)contextElement.GetValue(FrameworkElement.BindingGroupProperty);
1753
BindingGroup
bgCandidate = (
BindingGroup
)fo.DO.GetValue(bindingGroupDP);
1792
internal void JoinBindingGroup(
BindingGroup
bg, bool explicitJoin)
1813
root.SetValue(Feature.BindingGroup, new WeakReference<
BindingGroup
>(bg));
1864
BindingGroup
bg = root.BindingGroup;
2387
BindingGroup
bindingGroup = BindingGroup;
2403
BindingGroup
bindingGroup = BindingGroup;
2958
static readonly WeakReference<
BindingGroup
> NullBindingGroupReference = new WeakReference<
BindingGroup
>(null);
src\Framework\System\Windows\Data\BindingGroup.cs (9)
54
internal BindingGroup(
BindingGroup
master)
582
if (property != null && property.PropertyType != typeof(
BindingGroup
) &&
1684
if (itemWR != null &&
BindingGroup
.FindIndexOf(itemWR, list) < 0)
1713
_table[i].Value =
BindingGroup
.DeferredTargetValue;
1724
_table[i].Value =
BindingGroup
.DeferredSourceValue;
1789
if (_value ==
BindingGroup
.DeferredTargetValue)
1793
else if (_value ==
BindingGroup
.DeferredSourceValue)
1808
object _value =
BindingGroup
.DeferredTargetValue;
1893
if (itemWR != null &&
BindingGroup
.FindIndexOf(itemWR, list) < 0)
src\Framework\System\Windows\Data\BindingOperations.cs (3)
415
public static ReadOnlyCollection<
BindingGroup
> GetSourceUpdatingBindingGroups(DependencyObject root)
417
List<
BindingGroup
> list = DataBindEngine.CurrentDataBindEngine.CommitManager.GetBindingGroupsInScope(root);
418
return new ReadOnlyCollection<
BindingGroup
>(list);
src\Framework\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)
src\Framework\System\Windows\Data\PriorityBindingExpression.cs (5)
318
internal override void UpdateBindingGroup(
BindingGroup
bg)
362
internal override bool ObtainConvertedProposedValue(
BindingGroup
bindingGroup)
401
internal override bool UpdateSource(
BindingGroup
bindingGroup)
420
internal override void StoreValueInBindingGroup(object value,
BindingGroup
bindingGroup)
445
internal override bool CheckValidationRules(
BindingGroup
bindingGroup, ValidationStep validationStep)
src\Framework\System\Windows\FrameworkContentElement.cs (2)
1225
public
BindingGroup
BindingGroup
1227
get { return (
BindingGroup
)GetValue(BindingGroupProperty); }
src\Framework\System\Windows\FrameworkElement.cs (3)
2788
typeof(
BindingGroup
),
2798
public
BindingGroup
BindingGroup
2800
get { return (
BindingGroup
)GetValue(BindingGroupProperty); }
src\Framework\System\Windows\HierarchicalDataTemplate.cs (2)
177
public
BindingGroup
ItemBindingGroup
244
private
BindingGroup
_itemBindingGroup;