1 instantiation of BindingExpression
PresentationFramework (1)
System\Windows\Data\BindingExpression.cs (1)
410
BindingExpression bindExpr = new
BindingExpression
(binding, parent);
139 references to BindingExpression
PresentationFramework (139)
MS\Internal\Data\BindingExpressionUncommonField.cs (3)
19
internal class BindingExpressionUncommonField : UncommonField<
BindingExpression
>
21
internal new void SetValue(DependencyObject instance,
BindingExpression
bindingExpr)
29
BindingExpression
bindingExpr = GetValue(instance);
MS\Internal\Data\BindingWorker.cs (3)
37
protected BindingWorker(
BindingExpression
b)
50
internal
BindingExpression
ParentBindingExpression { get { return _bindingExpression; } }
112
BindingExpression
_bindingExpression;
MS\Internal\Data\ClrBindingWorker.cs (6)
37
internal ClrBindingWorker(
BindingExpression
b, DataBindEngine engine) : base(b)
72
if (targetDP == System.Windows.Data.
BindingExpression
.NoTargetProperty ||
171
if (item == null || item ==
BindingExpression
.NullDataItem)
248
if (item == null || item ==
BindingExpression
.NullDataItem)
349
BindingExpression
parent = ParentBindingExpression;
537
if (item ==
BindingExpression
.NullDataItem)
MS\Internal\Data\ObjectRef.cs (2)
466
if (
BindingExpression
.HasLocalDataContext(d))
500
if (!
BindingExpression
.HasLocalDataContext(parent))
MS\Internal\Data\PropertyPathWorker.cs (51)
57
_arySVS[i].item =
BindingExpression
.CreateReference(
BindingExpression
.NullDataItem);
72
get { return
BindingExpression
.GetReference(_treeContext) as DependencyObject; }
73
set { _treeContext =
BindingExpression
.CreateReference(value); }
78
_treeContext =
BindingExpression
.CreateReference(wr);
100
if (item ==
BindingExpression
.NullDataItem)
170
return
BindingExpression
.GetReference(_arySVS[level].item);
219
_rootItem =
BindingExpression
.CreateReference(rootItem);
225
_rootItem =
BindingExpression
.NullDataItem;
260
value =
BindingExpression
.IgnoreDefaultValue;
417
object oldValue =
BindingExpression
.GetReference(_arySVS[k].item);
442
object o =
BindingExpression
.GetReference(_arySVS[k].item);
443
if (o ==
BindingExpression
.StaticSource)
492
if ((_arySVS[k].info == dp) && (
BindingExpression
.GetReference(_arySVS[k].item) == d))
507
UpdateSourceValueState(_arySVS.Length, null,
BindingExpression
.NullDataItem, isASubPropertyChange);
515
if ((_arySVS[k].info == dp) && (
BindingExpression
.GetReference(_arySVS[k].item) == d))
518
UpdateSourceValueState(k, null,
BindingExpression
.NullDataItem, isASubPropertyChange);
587
UpdateSourceValueState(k, collectionView,
BindingExpression
.NullDataItem, false);
600
if (_rootItem !=
BindingExpression
.NullDataItem && target == null)
633
rawValue = (newValue ==
BindingExpression
.NullDataItem) ? RawValue(k - 1) : newValue;
634
newValue =
BindingExpression
.NullDataItem;
648
ReplaceItem(k,
BindingExpression
.NullDataItem, rawValue);
692
object oldO =
BindingExpression
.GetReference(_arySVS[k].item);
704
if (oldO ==
BindingExpression
.StaticSource)
747
parent ==
BindingExpression
.NullDataItem ||
750
_arySVS[k].item =
BindingExpression
.ReplaceReference(_arySVS[k].item, newO);
753
parent ==
BindingExpression
.NullDataItem ||
773
if (newO !=
BindingExpression
.NullDataItem)
800
return
BindingExpression
.GetReference((k == 0) ? _rootItem : _arySVS[k - 1].item);
832
svs.item =
BindingExpression
.ReplaceReference(svs.item,
BindingExpression
.NullDataItem);
843
svs.item =
BindingExpression
.ReplaceReference(svs.item,
BindingExpression
.NullDataItem);
851
newO =
BindingExpression
.GetReference(svs.item);
876
if (newO ==
BindingExpression
.StaticSource)
934
BindingExpression
bindingExpression = (_host != null) ? _host.ParentBindingExpression : null;
997
item =
BindingExpression
.StaticSource;
1000
if (!ItemsControl.EqualsEx(item,
BindingExpression
.GetReference(_arySVS[level].item))
1034
object oldItem =
BindingExpression
.GetReference(_arySVS[k].item);
1044
if (newType == oldType && oldItem !=
BindingExpression
.NullDataItem &&
1048
svs.item =
BindingExpression
.ReplaceReference(svs.item, item);
1068
svs.item =
BindingExpression
.ReplaceReference(svs.item, item);
1094
item =
BindingExpression
.StaticSource;
1096
svs.item =
BindingExpression
.ReplaceReference(svs.item, item);
1278
if (item !=
BindingExpression
.GetReference(svs.item))
1279
sb.AppendLine($" Item is wrong: expected '{item}' got '{
BindingExpression
.GetReference(svs.item)}'");
1306
item =
BindingExpression
.StaticSource;
1311
svs.item =
BindingExpression
.ReplaceReference(svs.item, item);
1519
return
BindingExpression
.GetReference(_rootItem);
1523
object item =
BindingExpression
.GetReference(_arySVS[k].item);
1529
if (item !=
BindingExpression
.NullDataItem && info != null && !(item == null && info != DependencyProperty.UnsetValue))
MS\Internal\TraceData.cs (3)
140
else if (o is
BindingExpression
)
142
BindingExpression
bindingExpr = o as
BindingExpression
;
System\Windows\Controls\DataErrorValidationRule.cs (2)
46
BindingExpression
bindingExpr;
66
else if ((bindingExpr = value as
BindingExpression
) != null)
System\Windows\Controls\DataGridHelper.cs (3)
518
internal static
BindingExpression
GetBindingExpression(FrameworkElement element, DependencyProperty dp)
583
BindingExpression
be;
587
if ((be = beb as
BindingExpression
) != null)
System\Windows\Controls\Primitives\Selector.cs (6)
580
BindingExpression
bindingExpr = PrepareItemValueBinding(Items.GetRepresentativeItem());
733
private
BindingExpression
PrepareItemValueBinding(object item)
741
BindingExpression
bindingExpr = ItemValueBindingExpression.GetValue(this);
773
bindingExpr = (
BindingExpression
)
BindingExpression
.CreateUntargetedBindingExpression(this, binding);
2176
BindingExpression
bindingExpr = PrepareItemValueBinding(item);
System\Windows\Controls\TextSearch.cs (6)
409
BindingExpression
primaryTextBinding = null;
575
private static string GetPrimaryText(object item,
BindingExpression
primaryTextBinding, DependencyObject primaryTextBindingHome)
644
BindingExpression
primaryTextBinding = CreateBindingExpression(itemsControl, item, GetPrimaryTextPath(itemsControl));
654
private static
BindingExpression
CreateBindingExpression(ItemsControl itemsControl, object item, string primaryTextPath)
671
return (
BindingExpression
)
BindingExpression
.CreateUntargetedBindingExpression(itemsControl, binding);
System\Windows\Controls\TreeView.cs (5)
280
BindingExpression
expression = PrepareSelectedValuePathBindingExpression(selectedItem);
296
private
BindingExpression
PrepareSelectedValuePathBindingExpression(object item)
306
BindingExpression
bindingExpr = SelectedValuePathBindingExpression.GetValue(this);
335
bindingExpr = (
BindingExpression
)
BindingExpression
.CreateUntargetedBindingExpression(this, binding);
System\Windows\Data\Binding.cs (2)
682
return
BindingExpression
.CreateBindingExpression(target, dp, this, owner);
850
static readonly ObjectRef StaticSourceRef = new ExplicitObjectRef(
BindingExpression
.StaticSource);
System\Windows\Data\BindingExpression.cs (6)
399
internal static
BindingExpression
CreateBindingExpression(DependencyObject d,
410
BindingExpression
bindExpr = new BindingExpression(binding, parent);
2703
internal ChangingValueHelper(
BindingExpression
b)
2715
BindingExpression
_bindingExpression;
2729
BindingExpression
b = null;
2737
b = BindingOperations.GetBindingExpression(ancestor, FrameworkElement.DataContextProperty) as
BindingExpression
;
System\Windows\Data\BindingExpressionBase.cs (6)
1242
internal ProposedValue(
BindingExpression
bindingExpression, object rawValue, object convertedValue)
1249
internal
BindingExpression
BindingExpression { get { return _bindingExpression; } }
1253
BindingExpression
_bindingExpression;
1860
if (!(this is
BindingExpression
))
2787
!(item ==
BindingExpression
.NullDataItem) &&
2815
!(item ==
BindingExpression
.NullDataItem) &&
System\Windows\Data\BindingGroup.cs (19)
546
BindingExpression
bindingExpression = (
BindingExpression
)entry.BindingExpressionBase;
679
internal void UpdateTable(
BindingExpression
bindingExpression)
1088
errors =
BindingExpression
.GetDataErrors(indei, String.Empty);
1180
BindingExpression
bindExpr = _proposedValueBindingExpressions[i];
1430
_proposedValueBindingExpressions = new
BindingExpression
[count];
1454
BindingExpression
bindExpr = (
BindingExpression
)
BindingExpression
.CreateUntargetedBindingExpression(mentor, binding);
1470
BindingExpression
bindExpr = _proposedValueBindingExpressions[i];
1561
BindingExpression
[] _proposedValueBindingExpressions;
1637
public bool Update(
BindingExpression
bindingExpression)
1744
public void Update(
BindingExpression
bindingExpression)
1793
BindingExpression
bindingExpression = _bindingExpressionBase as
BindingExpression
;
1817
BindingExpression
bindExpr = proposedValue.BindingExpression;
1841
public void Remove(
BindingExpression
bindExpr)
1880
public ProposedValueEntry this[
BindingExpression
bindExpr]
1954
BindingExpression
bindExpr)
System\Windows\Data\BindingOperations.cs (2)
179
public static
BindingExpression
GetBindingExpression(DependencyObject target, DependencyProperty dp)
187
return expr as
BindingExpression
;
System\Windows\Data\MultiBindingExpression.cs (4)
635
BindingExpression
be = bindExpr as
BindingExpression
;
1389
BindingExpression
.OnTargetUpdated(target, TargetProperty);
1402
BindingExpression
.OnSourceUpdated(target, TargetProperty);
System\Windows\FrameworkContentElement.cs (3)
1176
public
BindingExpression
GetBindingExpression(DependencyProperty dp)
1197
public
BindingExpression
SetBinding(DependencyProperty dp, string path)
1199
return (
BindingExpression
)SetBinding(dp, new Binding(path));
System\Windows\FrameworkElement.cs (3)
2757
public
BindingExpression
GetBindingExpression(DependencyProperty dp)
2778
public
BindingExpression
SetBinding(DependencyProperty dp, string path)
2780
return (
BindingExpression
)SetBinding(dp, new Binding(path));
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
118
case 22: t = () => typeof(
BindingExpression
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
1882
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)
2878
bindingExpr =
BindingExpression
.CreateUntargetedBindingExpression(container, binding);