1 instantiation of BindingExpression
PresentationFramework (1)
System\Windows\Data\BindingExpression.cs (1)
401
BindingExpression bindExpr = new
BindingExpression
(binding, parent);
139 references to BindingExpression
PresentationFramework (139)
MS\Internal\Data\BindingExpressionUncommonField.cs (3)
18
internal class BindingExpressionUncommonField : UncommonField<
BindingExpression
>
20
internal new void SetValue(DependencyObject instance,
BindingExpression
bindingExpr)
28
BindingExpression
bindingExpr = GetValue(instance);
MS\Internal\Data\BindingWorker.cs (3)
33
protected BindingWorker(
BindingExpression
b)
46
internal
BindingExpression
ParentBindingExpression { get { return _bindingExpression; } }
108
BindingExpression
_bindingExpression;
MS\Internal\Data\ClrBindingWorker.cs (6)
28
internal ClrBindingWorker(
BindingExpression
b, DataBindEngine engine) : base(b)
63
if (targetDP == System.Windows.Data.
BindingExpression
.NoTargetProperty ||
162
if (item == null || item ==
BindingExpression
.NullDataItem)
239
if (item == null || item ==
BindingExpression
.NullDataItem)
340
BindingExpression
parent = ParentBindingExpression;
528
if (item ==
BindingExpression
.NullDataItem)
MS\Internal\Data\ObjectRef.cs (2)
460
if (
BindingExpression
.HasLocalDataContext(d))
494
if (!
BindingExpression
.HasLocalDataContext(parent))
MS\Internal\Data\PropertyPathWorker.cs (51)
51
_arySVS[i].item =
BindingExpression
.CreateReference(
BindingExpression
.NullDataItem);
66
get { return
BindingExpression
.GetReference(_treeContext) as DependencyObject; }
67
set { _treeContext =
BindingExpression
.CreateReference(value); }
72
_treeContext =
BindingExpression
.CreateReference(wr);
94
if (item ==
BindingExpression
.NullDataItem)
164
return
BindingExpression
.GetReference(_arySVS[level].item);
213
_rootItem =
BindingExpression
.CreateReference(rootItem);
219
_rootItem =
BindingExpression
.NullDataItem;
254
value =
BindingExpression
.IgnoreDefaultValue;
411
object oldValue =
BindingExpression
.GetReference(_arySVS[k].item);
436
object o =
BindingExpression
.GetReference(_arySVS[k].item);
437
if (o ==
BindingExpression
.StaticSource)
486
if ((_arySVS[k].info == dp) && (
BindingExpression
.GetReference(_arySVS[k].item) == d))
501
UpdateSourceValueState(_arySVS.Length, null,
BindingExpression
.NullDataItem, isASubPropertyChange);
509
if ((_arySVS[k].info == dp) && (
BindingExpression
.GetReference(_arySVS[k].item) == d))
512
UpdateSourceValueState(k, null,
BindingExpression
.NullDataItem, isASubPropertyChange);
581
UpdateSourceValueState(k, collectionView,
BindingExpression
.NullDataItem, false);
594
if (_rootItem !=
BindingExpression
.NullDataItem && target == null)
627
rawValue = (newValue ==
BindingExpression
.NullDataItem) ? RawValue(k - 1) : newValue;
628
newValue =
BindingExpression
.NullDataItem;
642
ReplaceItem(k,
BindingExpression
.NullDataItem, rawValue);
686
object oldO =
BindingExpression
.GetReference(_arySVS[k].item);
698
if (oldO ==
BindingExpression
.StaticSource)
741
parent ==
BindingExpression
.NullDataItem ||
744
_arySVS[k].item =
BindingExpression
.ReplaceReference(_arySVS[k].item, newO);
747
parent ==
BindingExpression
.NullDataItem ||
767
if (newO !=
BindingExpression
.NullDataItem)
794
return
BindingExpression
.GetReference((k == 0) ? _rootItem : _arySVS[k - 1].item);
826
svs.item =
BindingExpression
.ReplaceReference(svs.item,
BindingExpression
.NullDataItem);
837
svs.item =
BindingExpression
.ReplaceReference(svs.item,
BindingExpression
.NullDataItem);
845
newO =
BindingExpression
.GetReference(svs.item);
870
if (newO ==
BindingExpression
.StaticSource)
928
BindingExpression
bindingExpression = (_host != null) ? _host.ParentBindingExpression : null;
991
item =
BindingExpression
.StaticSource;
994
if (!ItemsControl.EqualsEx(item,
BindingExpression
.GetReference(_arySVS[level].item))
1028
object oldItem =
BindingExpression
.GetReference(_arySVS[k].item);
1038
if (newType == oldType && oldItem !=
BindingExpression
.NullDataItem &&
1042
svs.item =
BindingExpression
.ReplaceReference(svs.item, item);
1062
svs.item =
BindingExpression
.ReplaceReference(svs.item, item);
1088
item =
BindingExpression
.StaticSource;
1090
svs.item =
BindingExpression
.ReplaceReference(svs.item, item);
1272
if (item !=
BindingExpression
.GetReference(svs.item))
1273
sb.AppendLine($" Item is wrong: expected '{item}' got '{
BindingExpression
.GetReference(svs.item)}'");
1300
item =
BindingExpression
.StaticSource;
1305
svs.item =
BindingExpression
.ReplaceReference(svs.item, item);
1513
return
BindingExpression
.GetReference(_rootItem);
1517
object item =
BindingExpression
.GetReference(_arySVS[k].item);
1523
if (item !=
BindingExpression
.NullDataItem && info != null && !(item == null && info != DependencyProperty.UnsetValue))
MS\Internal\TraceData.cs (3)
135
else if (o is
BindingExpression
)
137
BindingExpression
bindingExpr = o as
BindingExpression
;
System\Windows\Controls\DataErrorValidationRule.cs (2)
42
BindingExpression
bindingExpr;
62
else if ((bindingExpr = value as
BindingExpression
) != null)
System\Windows\Controls\DataGridHelper.cs (3)
512
internal static
BindingExpression
GetBindingExpression(FrameworkElement element, DependencyProperty dp)
577
BindingExpression
be;
581
if ((be = beb as
BindingExpression
) != null)
System\Windows\Controls\Primitives\Selector.cs (6)
571
BindingExpression
bindingExpr = PrepareItemValueBinding(Items.GetRepresentativeItem());
724
private
BindingExpression
PrepareItemValueBinding(object item)
732
BindingExpression
bindingExpr = ItemValueBindingExpression.GetValue(this);
764
bindingExpr = (
BindingExpression
)
BindingExpression
.CreateUntargetedBindingExpression(this, binding);
2167
BindingExpression
bindingExpr = PrepareItemValueBinding(item);
System\Windows\Controls\TextSearch.cs (6)
398
BindingExpression
primaryTextBinding = null;
564
private static string GetPrimaryText(object item,
BindingExpression
primaryTextBinding, DependencyObject primaryTextBindingHome)
633
BindingExpression
primaryTextBinding = CreateBindingExpression(itemsControl, item, GetPrimaryTextPath(itemsControl));
643
private static
BindingExpression
CreateBindingExpression(ItemsControl itemsControl, object item, string primaryTextPath)
660
return (
BindingExpression
)
BindingExpression
.CreateUntargetedBindingExpression(itemsControl, binding);
System\Windows\Controls\TreeView.cs (5)
275
BindingExpression
expression = PrepareSelectedValuePathBindingExpression(selectedItem);
291
private
BindingExpression
PrepareSelectedValuePathBindingExpression(object item)
301
BindingExpression
bindingExpr = SelectedValuePathBindingExpression.GetValue(this);
330
bindingExpr = (
BindingExpression
)
BindingExpression
.CreateUntargetedBindingExpression(this, binding);
System\Windows\Data\Binding.cs (2)
674
return
BindingExpression
.CreateBindingExpression(target, dp, this, owner);
842
static readonly ObjectRef StaticSourceRef = new ExplicitObjectRef(
BindingExpression
.StaticSource);
System\Windows\Data\BindingExpression.cs (6)
390
internal static
BindingExpression
CreateBindingExpression(DependencyObject d,
401
BindingExpression
bindExpr = new BindingExpression(binding, parent);
2694
internal ChangingValueHelper(
BindingExpression
b)
2706
BindingExpression
_bindingExpression;
2720
BindingExpression
b = null;
2728
b = BindingOperations.GetBindingExpression(ancestor, FrameworkElement.DataContextProperty) as
BindingExpression
;
System\Windows\Data\BindingExpressionBase.cs (6)
1234
internal ProposedValue(
BindingExpression
bindingExpression, object rawValue, object convertedValue)
1241
internal
BindingExpression
BindingExpression { get { return _bindingExpression; } }
1245
BindingExpression
_bindingExpression;
1852
if (!(this is
BindingExpression
))
2779
!(item ==
BindingExpression
.NullDataItem) &&
2807
!(item ==
BindingExpression
.NullDataItem) &&
System\Windows\Data\BindingGroup.cs (19)
541
BindingExpression
bindingExpression = (
BindingExpression
)entry.BindingExpressionBase;
674
internal void UpdateTable(
BindingExpression
bindingExpression)
1083
errors =
BindingExpression
.GetDataErrors(indei, String.Empty);
1175
BindingExpression
bindExpr = _proposedValueBindingExpressions[i];
1425
_proposedValueBindingExpressions = new
BindingExpression
[count];
1449
BindingExpression
bindExpr = (
BindingExpression
)
BindingExpression
.CreateUntargetedBindingExpression(mentor, binding);
1465
BindingExpression
bindExpr = _proposedValueBindingExpressions[i];
1556
BindingExpression
[] _proposedValueBindingExpressions;
1632
public bool Update(
BindingExpression
bindingExpression)
1739
public void Update(
BindingExpression
bindingExpression)
1788
BindingExpression
bindingExpression = _bindingExpressionBase as
BindingExpression
;
1812
BindingExpression
bindExpr = proposedValue.BindingExpression;
1836
public void Remove(
BindingExpression
bindExpr)
1875
public ProposedValueEntry this[
BindingExpression
bindExpr]
1949
BindingExpression
bindExpr)
System\Windows\Data\BindingOperations.cs (2)
170
public static
BindingExpression
GetBindingExpression(DependencyObject target, DependencyProperty dp)
178
return expr as
BindingExpression
;
System\Windows\Data\MultiBindingExpression.cs (4)
624
BindingExpression
be = bindExpr as
BindingExpression
;
1378
BindingExpression
.OnTargetUpdated(target, TargetProperty);
1391
BindingExpression
.OnSourceUpdated(target, TargetProperty);
System\Windows\FrameworkContentElement.cs (3)
1164
public
BindingExpression
GetBindingExpression(DependencyProperty dp)
1185
public
BindingExpression
SetBinding(DependencyProperty dp, string path)
1187
return (
BindingExpression
)SetBinding(dp, new Binding(path));
System\Windows\FrameworkElement.cs (3)
2746
public
BindingExpression
GetBindingExpression(DependencyProperty dp)
2767
public
BindingExpression
SetBinding(DependencyProperty dp, string path)
2769
return (
BindingExpression
)SetBinding(dp, new Binding(path));
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
116
case 22: t = () => typeof(
BindingExpression
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
1880
typeof(System.Windows.Data.
BindingExpression
),
System\Windows\Markup\KnownTypes.cs (1)
5576
case KnownElements.BindingExpression: t = typeof(System.Windows.Data.
BindingExpression
); break;
System\Windows\StyleHelper.cs (1)
2872
bindingExpr =
BindingExpression
.CreateUntargetedBindingExpression(container, binding);