1 instantiation of BindingExpression
PresentationFramework (1)
System\Windows\Data\BindingExpression.cs (1)
397
BindingExpression bindExpr = new
BindingExpression
(binding, parent);
139 references to BindingExpression
PresentationFramework (139)
MS\Internal\Data\BindingExpressionUncommonField.cs (3)
17
internal class BindingExpressionUncommonField : UncommonField<
BindingExpression
>
19
internal new void SetValue(DependencyObject instance,
BindingExpression
bindingExpr)
27
BindingExpression
bindingExpr = GetValue(instance);
MS\Internal\Data\BindingWorker.cs (3)
32
protected BindingWorker(
BindingExpression
b)
45
internal
BindingExpression
ParentBindingExpression { get { return _bindingExpression; } }
107
private
BindingExpression
_bindingExpression;
MS\Internal\Data\ClrBindingWorker.cs (6)
27
internal ClrBindingWorker(
BindingExpression
b, DataBindEngine engine) : base(b)
62
if (targetDP == System.Windows.Data.
BindingExpression
.NoTargetProperty ||
161
if (item == null || item ==
BindingExpression
.NullDataItem)
235
if (item == null || item ==
BindingExpression
.NullDataItem)
335
BindingExpression
parent = ParentBindingExpression;
517
if (item ==
BindingExpression
.NullDataItem)
MS\Internal\Data\ObjectRef.cs (2)
459
if (
BindingExpression
.HasLocalDataContext(d))
493
if (!
BindingExpression
.HasLocalDataContext(parent))
MS\Internal\Data\PropertyPathWorker.cs (51)
50
_arySVS[i].item =
BindingExpression
.CreateReference(
BindingExpression
.NullDataItem);
65
get { return
BindingExpression
.GetReference(_treeContext) as DependencyObject; }
66
set { _treeContext =
BindingExpression
.CreateReference(value); }
71
_treeContext =
BindingExpression
.CreateReference(wr);
93
if (item ==
BindingExpression
.NullDataItem)
163
return
BindingExpression
.GetReference(_arySVS[level].item);
212
_rootItem =
BindingExpression
.CreateReference(rootItem);
218
_rootItem =
BindingExpression
.NullDataItem;
253
value =
BindingExpression
.IgnoreDefaultValue;
410
object oldValue =
BindingExpression
.GetReference(_arySVS[k].item);
435
object o =
BindingExpression
.GetReference(_arySVS[k].item);
436
if (o ==
BindingExpression
.StaticSource)
485
if ((_arySVS[k].info == dp) && (
BindingExpression
.GetReference(_arySVS[k].item) == d))
500
UpdateSourceValueState(_arySVS.Length, null,
BindingExpression
.NullDataItem, isASubPropertyChange);
508
if ((_arySVS[k].info == dp) && (
BindingExpression
.GetReference(_arySVS[k].item) == d))
511
UpdateSourceValueState(k, null,
BindingExpression
.NullDataItem, isASubPropertyChange);
572
UpdateSourceValueState(k, collectionView,
BindingExpression
.NullDataItem, false);
585
if (_rootItem !=
BindingExpression
.NullDataItem && target == null)
618
rawValue = (newValue ==
BindingExpression
.NullDataItem) ? RawValue(k - 1) : newValue;
619
newValue =
BindingExpression
.NullDataItem;
633
ReplaceItem(k,
BindingExpression
.NullDataItem, rawValue);
677
object oldO =
BindingExpression
.GetReference(_arySVS[k].item);
689
if (oldO ==
BindingExpression
.StaticSource)
731
parent ==
BindingExpression
.NullDataItem ||
734
_arySVS[k].item =
BindingExpression
.ReplaceReference(_arySVS[k].item, newO);
737
parent ==
BindingExpression
.NullDataItem ||
757
if (newO !=
BindingExpression
.NullDataItem)
784
return
BindingExpression
.GetReference((k == 0) ? _rootItem : _arySVS[k - 1].item);
816
svs.item =
BindingExpression
.ReplaceReference(svs.item,
BindingExpression
.NullDataItem);
827
svs.item =
BindingExpression
.ReplaceReference(svs.item,
BindingExpression
.NullDataItem);
835
newO =
BindingExpression
.GetReference(svs.item);
860
if (newO ==
BindingExpression
.StaticSource)
917
BindingExpression
bindingExpression = _host?.ParentBindingExpression;
980
item =
BindingExpression
.StaticSource;
983
if (!ItemsControl.EqualsEx(item,
BindingExpression
.GetReference(_arySVS[level].item))
1017
object oldItem =
BindingExpression
.GetReference(_arySVS[k].item);
1027
if (newType == oldType && oldItem !=
BindingExpression
.NullDataItem &&
1031
svs.item =
BindingExpression
.ReplaceReference(svs.item, item);
1051
svs.item =
BindingExpression
.ReplaceReference(svs.item, item);
1077
item =
BindingExpression
.StaticSource;
1079
svs.item =
BindingExpression
.ReplaceReference(svs.item, item);
1261
if (item !=
BindingExpression
.GetReference(svs.item))
1262
sb.AppendLine($" Item is wrong: expected '{item}' got '{
BindingExpression
.GetReference(svs.item)}'");
1289
item =
BindingExpression
.StaticSource;
1294
svs.item =
BindingExpression
.ReplaceReference(svs.item, item);
1491
return
BindingExpression
.GetReference(_rootItem);
1495
object item =
BindingExpression
.GetReference(_arySVS[k].item);
1501
if (item !=
BindingExpression
.NullDataItem && info != null && !(item == null && info != DependencyProperty.UnsetValue))
MS\Internal\TraceData.cs (3)
134
else if (o is
BindingExpression
)
136
BindingExpression
bindingExpr = o as
BindingExpression
;
System\Windows\Controls\DataErrorValidationRule.cs (2)
41
BindingExpression
bindingExpr;
61
else if ((bindingExpr = value as
BindingExpression
) != null)
System\Windows\Controls\DataGridHelper.cs (3)
511
internal static
BindingExpression
GetBindingExpression(FrameworkElement element, DependencyProperty dp)
576
BindingExpression
be;
580
if ((be = beb as
BindingExpression
) != null)
System\Windows\Controls\Primitives\Selector.cs (6)
567
BindingExpression
bindingExpr = PrepareItemValueBinding(Items.GetRepresentativeItem());
720
private
BindingExpression
PrepareItemValueBinding(object item)
728
BindingExpression
bindingExpr = ItemValueBindingExpression.GetValue(this);
761
bindingExpr = (
BindingExpression
)
BindingExpression
.CreateUntargetedBindingExpression(this, binding);
2164
BindingExpression
bindingExpr = PrepareItemValueBinding(item);
System\Windows\Controls\TextSearch.cs (6)
397
BindingExpression
primaryTextBinding = null;
563
private static string GetPrimaryText(object item,
BindingExpression
primaryTextBinding, DependencyObject primaryTextBindingHome)
632
BindingExpression
primaryTextBinding = CreateBindingExpression(itemsControl, item, GetPrimaryTextPath(itemsControl));
642
private static
BindingExpression
CreateBindingExpression(ItemsControl itemsControl, object item, string primaryTextPath)
659
return (
BindingExpression
)
BindingExpression
.CreateUntargetedBindingExpression(itemsControl, binding);
System\Windows\Controls\TreeView.cs (5)
272
BindingExpression
expression = PrepareSelectedValuePathBindingExpression(selectedItem);
288
private
BindingExpression
PrepareSelectedValuePathBindingExpression(object item)
298
BindingExpression
bindingExpr = SelectedValuePathBindingExpression.GetValue(this);
329
bindingExpr = (
BindingExpression
)
BindingExpression
.CreateUntargetedBindingExpression(this, binding);
System\Windows\Data\Binding.cs (2)
656
return
BindingExpression
.CreateBindingExpression(target, dp, this, owner);
824
private static readonly ObjectRef StaticSourceRef = new ExplicitObjectRef(
BindingExpression
.StaticSource);
System\Windows\Data\BindingExpression.cs (6)
386
internal static
BindingExpression
CreateBindingExpression(DependencyObject d,
397
BindingExpression
bindExpr = new BindingExpression(binding, parent);
2655
internal ChangingValueHelper(
BindingExpression
b)
2667
private
BindingExpression
_bindingExpression;
2681
BindingExpression
b = null;
2689
b = BindingOperations.GetBindingExpression(ancestor, FrameworkElement.DataContextProperty) as
BindingExpression
;
System\Windows\Data\BindingExpressionBase.cs (6)
1233
internal ProposedValue(
BindingExpression
bindingExpression, object rawValue, object convertedValue)
1240
internal
BindingExpression
BindingExpression { get { return _bindingExpression; } }
1244
private
BindingExpression
_bindingExpression;
1850
if (!(this is
BindingExpression
))
2756
!(item ==
BindingExpression
.NullDataItem) &&
2784
!(item ==
BindingExpression
.NullDataItem) &&
System\Windows\Data\BindingGroup.cs (19)
534
BindingExpression
bindingExpression = (
BindingExpression
)entry.BindingExpressionBase;
667
internal void UpdateTable(
BindingExpression
bindingExpression)
1070
errors =
BindingExpression
.GetDataErrors(indei, String.Empty);
1162
BindingExpression
bindExpr = _proposedValueBindingExpressions[i];
1401
_proposedValueBindingExpressions = new
BindingExpression
[count];
1427
BindingExpression
bindExpr = (
BindingExpression
)
BindingExpression
.CreateUntargetedBindingExpression(mentor, binding);
1443
BindingExpression
bindExpr = _proposedValueBindingExpressions[i];
1534
private
BindingExpression
[] _proposedValueBindingExpressions;
1610
public bool Update(
BindingExpression
bindingExpression)
1717
public void Update(
BindingExpression
bindingExpression)
1766
BindingExpression
bindingExpression = _bindingExpressionBase as
BindingExpression
;
1790
BindingExpression
bindExpr = proposedValue.BindingExpression;
1814
public void Remove(
BindingExpression
bindExpr)
1853
public ProposedValueEntry this[
BindingExpression
bindExpr]
1927
BindingExpression
bindExpr)
System\Windows\Data\BindingOperations.cs (2)
169
public static
BindingExpression
GetBindingExpression(DependencyObject target, DependencyProperty dp)
177
return expr as
BindingExpression
;
System\Windows\Data\MultiBindingExpression.cs (4)
623
BindingExpression
be = bindExpr as
BindingExpression
;
1377
BindingExpression
.OnTargetUpdated(target, TargetProperty);
1390
BindingExpression
.OnSourceUpdated(target, TargetProperty);
System\Windows\FrameworkContentElement.cs (3)
1155
public
BindingExpression
GetBindingExpression(DependencyProperty dp)
1176
public
BindingExpression
SetBinding(DependencyProperty dp, string path)
1178
return (
BindingExpression
)SetBinding(dp, new Binding(path));
System\Windows\FrameworkElement.cs (3)
2737
public
BindingExpression
GetBindingExpression(DependencyProperty dp)
2758
public
BindingExpression
SetBinding(DependencyProperty dp, string path)
2760
return (
BindingExpression
)SetBinding(dp, new Binding(path));
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
115
case 22: t = () => typeof(
BindingExpression
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
1911
typeof(System.Windows.Data.
BindingExpression
),
System\Windows\Markup\KnownTypes.cs (1)
5569
case KnownElements.BindingExpression: t = typeof(System.Windows.Data.
BindingExpression
); break;
System\Windows\StyleHelper.cs (1)
2866
bindingExpr =
BindingExpression
.CreateUntargetedBindingExpression(container, binding);