1 instantiation of BindingExpression
PresentationFramework (1)
System\Windows\Data\BindingExpression.cs (1)
398
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)
236
if (item == null || item ==
BindingExpression
.NullDataItem)
336
BindingExpression
parent = ParentBindingExpression;
518
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);
571
UpdateSourceValueState(k, collectionView,
BindingExpression
.NullDataItem, false);
584
if (_rootItem !=
BindingExpression
.NullDataItem && target == null)
617
rawValue = (newValue ==
BindingExpression
.NullDataItem) ? RawValue(k - 1) : newValue;
618
newValue =
BindingExpression
.NullDataItem;
632
ReplaceItem(k,
BindingExpression
.NullDataItem, rawValue);
676
object oldO =
BindingExpression
.GetReference(_arySVS[k].item);
688
if (oldO ==
BindingExpression
.StaticSource)
730
parent ==
BindingExpression
.NullDataItem ||
733
_arySVS[k].item =
BindingExpression
.ReplaceReference(_arySVS[k].item, newO);
736
parent ==
BindingExpression
.NullDataItem ||
756
if (newO !=
BindingExpression
.NullDataItem)
783
return
BindingExpression
.GetReference((k == 0) ? _rootItem : _arySVS[k - 1].item);
815
svs.item =
BindingExpression
.ReplaceReference(svs.item,
BindingExpression
.NullDataItem);
826
svs.item =
BindingExpression
.ReplaceReference(svs.item,
BindingExpression
.NullDataItem);
834
newO =
BindingExpression
.GetReference(svs.item);
859
if (newO ==
BindingExpression
.StaticSource)
916
BindingExpression
bindingExpression = _host?.ParentBindingExpression;
979
item =
BindingExpression
.StaticSource;
982
if (!ItemsControl.EqualsEx(item,
BindingExpression
.GetReference(_arySVS[level].item))
1016
object oldItem =
BindingExpression
.GetReference(_arySVS[k].item);
1026
if (newType == oldType && oldItem !=
BindingExpression
.NullDataItem &&
1030
svs.item =
BindingExpression
.ReplaceReference(svs.item, item);
1050
svs.item =
BindingExpression
.ReplaceReference(svs.item, item);
1076
item =
BindingExpression
.StaticSource;
1078
svs.item =
BindingExpression
.ReplaceReference(svs.item, item);
1260
if (item !=
BindingExpression
.GetReference(svs.item))
1261
sb.AppendLine($" Item is wrong: expected '{item}' got '{
BindingExpression
.GetReference(svs.item)}'");
1288
item =
BindingExpression
.StaticSource;
1293
svs.item =
BindingExpression
.ReplaceReference(svs.item, item);
1490
return
BindingExpression
.GetReference(_rootItem);
1494
object item =
BindingExpression
.GetReference(_arySVS[k].item);
1500
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)
568
BindingExpression
bindingExpr = PrepareItemValueBinding(Items.GetRepresentativeItem());
721
private
BindingExpression
PrepareItemValueBinding(object item)
729
BindingExpression
bindingExpr = ItemValueBindingExpression.GetValue(this);
762
bindingExpr = (
BindingExpression
)
BindingExpression
.CreateUntargetedBindingExpression(this, binding);
2165
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)
273
BindingExpression
expression = PrepareSelectedValuePathBindingExpression(selectedItem);
289
private
BindingExpression
PrepareSelectedValuePathBindingExpression(object item)
299
BindingExpression
bindingExpr = SelectedValuePathBindingExpression.GetValue(this);
330
bindingExpr = (
BindingExpression
)
BindingExpression
.CreateUntargetedBindingExpression(this, binding);
System\Windows\Data\Binding.cs (2)
657
return
BindingExpression
.CreateBindingExpression(target, dp, this, owner);
825
static readonly ObjectRef StaticSourceRef = new ExplicitObjectRef(
BindingExpression
.StaticSource);
System\Windows\Data\BindingExpression.cs (6)
387
internal static
BindingExpression
CreateBindingExpression(DependencyObject d,
398
BindingExpression
bindExpr = new BindingExpression(binding, parent);
2657
internal ChangingValueHelper(
BindingExpression
b)
2669
BindingExpression
_bindingExpression;
2683
BindingExpression
b = null;
2691
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;
1851
if (!(this is
BindingExpression
))
2757
!(item ==
BindingExpression
.NullDataItem) &&
2785
!(item ==
BindingExpression
.NullDataItem) &&
System\Windows\Data\BindingGroup.cs (19)
535
BindingExpression
bindingExpression = (
BindingExpression
)entry.BindingExpressionBase;
668
internal void UpdateTable(
BindingExpression
bindingExpression)
1071
errors =
BindingExpression
.GetDataErrors(indei, String.Empty);
1163
BindingExpression
bindExpr = _proposedValueBindingExpressions[i];
1402
_proposedValueBindingExpressions = new
BindingExpression
[count];
1428
BindingExpression
bindExpr = (
BindingExpression
)
BindingExpression
.CreateUntargetedBindingExpression(mentor, binding);
1444
BindingExpression
bindExpr = _proposedValueBindingExpressions[i];
1535
BindingExpression
[] _proposedValueBindingExpressions;
1611
public bool Update(
BindingExpression
bindingExpression)
1718
public void Update(
BindingExpression
bindingExpression)
1767
BindingExpression
bindingExpression = _bindingExpressionBase as
BindingExpression
;
1791
BindingExpression
bindExpr = proposedValue.BindingExpression;
1815
public void Remove(
BindingExpression
bindExpr)
1854
public ProposedValueEntry this[
BindingExpression
bindExpr]
1928
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)
1156
public
BindingExpression
GetBindingExpression(DependencyProperty dp)
1177
public
BindingExpression
SetBinding(DependencyProperty dp, string path)
1179
return (
BindingExpression
)SetBinding(dp, new Binding(path));
System\Windows\FrameworkElement.cs (3)
2738
public
BindingExpression
GetBindingExpression(DependencyProperty dp)
2759
public
BindingExpression
SetBinding(DependencyProperty dp, string path)
2761
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)
1912
typeof(System.Windows.Data.
BindingExpression
),
System\Windows\Markup\KnownTypes.cs (1)
5570
case KnownElements.BindingExpression: t = typeof(System.Windows.Data.
BindingExpression
); break;
System\Windows\StyleHelper.cs (1)
2867
bindingExpr =
BindingExpression
.CreateUntargetedBindingExpression(container, binding);