1 instantiation of BindingExpression
PresentationFramework (1)
src\Framework\System\Windows\Data\BindingExpression.cs (1)
415
BindingExpression bindExpr = new
BindingExpression
(binding, parent);
150 references to BindingExpression
PresentationFramework (137)
src\Framework\MS\Internal\Data\BindingExpressionUncommonField.cs (3)
20
internal class BindingExpressionUncommonField : UncommonField<
BindingExpression
>
22
internal new void SetValue(DependencyObject instance,
BindingExpression
bindingExpr)
30
BindingExpression
bindingExpr = GetValue(instance);
src\Framework\MS\Internal\Data\BindingWorker.cs (3)
40
protected BindingWorker(
BindingExpression
b)
53
internal
BindingExpression
ParentBindingExpression { get { return _bindingExpression; } }
115
BindingExpression
_bindingExpression;
src\Framework\MS\Internal\Data\ClrBindingWorker.cs (6)
39
internal ClrBindingWorker(
BindingExpression
b, DataBindEngine engine) : base(b)
74
if (targetDP == System.Windows.Data.
BindingExpression
.NoTargetProperty ||
173
if (item == null || item ==
BindingExpression
.NullDataItem)
250
if (item == null || item ==
BindingExpression
.NullDataItem)
351
BindingExpression
parent = ParentBindingExpression;
536
if (item ==
BindingExpression
.NullDataItem)
src\Framework\MS\Internal\Data\ObjectRef.cs (2)
476
if (
BindingExpression
.HasLocalDataContext(d))
510
if (!
BindingExpression
.HasLocalDataContext(parent))
src\Framework\MS\Internal\Data\PropertyPathWorker.cs (49)
59
_arySVS[i].item =
BindingExpression
.CreateReference(
BindingExpression
.NullDataItem);
74
get { return
BindingExpression
.GetReference(_treeContext) as DependencyObject; }
75
set { _treeContext =
BindingExpression
.CreateReference(value); }
80
_treeContext =
BindingExpression
.CreateReference(wr);
102
if (item ==
BindingExpression
.NullDataItem)
172
return
BindingExpression
.GetReference(_arySVS[level].item);
221
_rootItem =
BindingExpression
.CreateReference(rootItem);
227
_rootItem =
BindingExpression
.NullDataItem;
262
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 ||
772
if (newO !=
BindingExpression
.NullDataItem)
799
return
BindingExpression
.GetReference((k == 0) ? _rootItem : _arySVS[k-1].item);
831
svs.item =
BindingExpression
.ReplaceReference(svs.item,
BindingExpression
.NullDataItem);
842
svs.item =
BindingExpression
.ReplaceReference(svs.item,
BindingExpression
.NullDataItem);
850
newO =
BindingExpression
.GetReference(svs.item);
874
if (newO ==
BindingExpression
.StaticSource)
932
BindingExpression
bindingExpression = (_host != null) ? _host.ParentBindingExpression : null;
993
item =
BindingExpression
.StaticSource;
996
if (!ItemsControl.EqualsEx(item,
BindingExpression
.GetReference(_arySVS[level].item))
1030
object oldItem =
BindingExpression
.GetReference(_arySVS[k].item);
1040
if (newType == oldType && oldItem !=
BindingExpression
.NullDataItem &&
1044
svs.item =
BindingExpression
.ReplaceReference(svs.item, item);
1063
svs.item =
BindingExpression
.ReplaceReference(svs.item, item);
1088
item =
BindingExpression
.StaticSource;
1090
svs.item =
BindingExpression
.ReplaceReference(svs.item, item);
1303
item =
BindingExpression
.StaticSource;
1308
svs.item =
BindingExpression
.ReplaceReference(svs.item, item);
1516
return
BindingExpression
.GetReference(_rootItem);
1520
object item =
BindingExpression
.GetReference(_arySVS[k].item);
1526
if (item !=
BindingExpression
.NullDataItem && info != null && !(item == null && info != DependencyProperty.UnsetValue))
src\Framework\MS\Internal\TraceData.cs (3)
141
else if (o is
BindingExpression
)
143
BindingExpression
bindingExpr = o as
BindingExpression
;
src\Framework\System\Windows\Controls\DataErrorValidationRule.cs (2)
50
BindingExpression
bindingExpr;
70
else if ((bindingExpr = value as
BindingExpression
) != null)
src\Framework\System\Windows\Controls\DataGridHelper.cs (3)
519
internal static
BindingExpression
GetBindingExpression(FrameworkElement element, DependencyProperty dp)
582
BindingExpression
be;
586
if ((be = beb as
BindingExpression
) != null)
src\Framework\System\Windows\Controls\Primitives\Selector.cs (6)
590
BindingExpression
bindingExpr = PrepareItemValueBinding(Items.GetRepresentativeItem());
743
private
BindingExpression
PrepareItemValueBinding(object item)
751
BindingExpression
bindingExpr = ItemValueBindingExpression.GetValue(this);
783
bindingExpr = (
BindingExpression
)
BindingExpression
.CreateUntargetedBindingExpression(this, binding);
2221
BindingExpression
bindingExpr = PrepareItemValueBinding(item);
src\Framework\System\Windows\Controls\TextSearch.cs (6)
423
BindingExpression
primaryTextBinding = null;
589
private static string GetPrimaryText(object item,
BindingExpression
primaryTextBinding, DependencyObject primaryTextBindingHome)
658
BindingExpression
primaryTextBinding = CreateBindingExpression(itemsControl, item, GetPrimaryTextPath(itemsControl));
668
private static
BindingExpression
CreateBindingExpression(ItemsControl itemsControl, object item, string primaryTextPath)
685
return (
BindingExpression
)
BindingExpression
.CreateUntargetedBindingExpression(itemsControl, binding);
src\Framework\System\Windows\Controls\TreeView.cs (5)
281
BindingExpression
expression = PrepareSelectedValuePathBindingExpression(selectedItem);
297
private
BindingExpression
PrepareSelectedValuePathBindingExpression(object item)
307
BindingExpression
bindingExpr = SelectedValuePathBindingExpression.GetValue(this);
336
bindingExpr = (
BindingExpression
)
BindingExpression
.CreateUntargetedBindingExpression(this, binding);
src\Framework\System\Windows\Data\Binding.cs (2)
687
return
BindingExpression
.CreateBindingExpression(target, dp, this, owner);
855
static readonly ObjectRef StaticSourceRef = new ExplicitObjectRef(
BindingExpression
.StaticSource);
src\Framework\System\Windows\Data\BindingExpression.cs (6)
404
internal static
BindingExpression
CreateBindingExpression(DependencyObject d,
415
BindingExpression
bindExpr = new BindingExpression(binding, parent);
2678
internal ChangingValueHelper(
BindingExpression
b)
2690
BindingExpression
_bindingExpression;
2704
BindingExpression
b = null;
2712
b = BindingOperations.GetBindingExpression(ancestor, FrameworkElement.DataContextProperty) as
BindingExpression
;
src\Framework\System\Windows\Data\BindingExpressionBase.cs (6)
1245
internal ProposedValue(
BindingExpression
bindingExpression, object rawValue, object convertedValue)
1252
internal
BindingExpression
BindingExpression { get { return _bindingExpression; } }
1256
BindingExpression
_bindingExpression;
1851
if (!(this is
BindingExpression
))
2786
!(item ==
BindingExpression
.NullDataItem) &&
2814
!(item ==
BindingExpression
.NullDataItem) &&
src\Framework\System\Windows\Data\BindingGroup.cs (19)
548
BindingExpression
bindingExpression = (
BindingExpression
)entry.BindingExpressionBase;
681
internal void UpdateTable(
BindingExpression
bindingExpression)
1090
errors =
BindingExpression
.GetDataErrors(indei, String.Empty);
1182
BindingExpression
bindExpr = _proposedValueBindingExpressions[i];
1432
_proposedValueBindingExpressions = new
BindingExpression
[count];
1456
BindingExpression
bindExpr = (
BindingExpression
)
BindingExpression
.CreateUntargetedBindingExpression(mentor, binding);
1472
BindingExpression
bindExpr = _proposedValueBindingExpressions[i];
1563
BindingExpression
[] _proposedValueBindingExpressions;
1639
public bool Update(
BindingExpression
bindingExpression)
1746
public void Update(
BindingExpression
bindingExpression)
1795
BindingExpression
bindingExpression = _bindingExpressionBase as
BindingExpression
;
1819
BindingExpression
bindExpr = proposedValue.BindingExpression;
1843
public void Remove(
BindingExpression
bindExpr)
1882
public ProposedValueEntry this[
BindingExpression
bindExpr]
1956
BindingExpression
bindExpr)
src\Framework\System\Windows\Data\BindingOperations.cs (2)
186
public static
BindingExpression
GetBindingExpression(DependencyObject target, DependencyProperty dp)
194
return expr as
BindingExpression
;
src\Framework\System\Windows\Data\MultiBindingExpression.cs (4)
635
BindingExpression
be = bindExpr as
BindingExpression
;
1380
BindingExpression
.OnTargetUpdated(target, TargetProperty);
1393
BindingExpression
.OnSourceUpdated(target, TargetProperty);
src\Framework\System\Windows\FrameworkContentElement.cs (3)
1185
public
BindingExpression
GetBindingExpression(DependencyProperty dp)
1206
public
BindingExpression
SetBinding(DependencyProperty dp, string path)
1208
return (
BindingExpression
)SetBinding(dp, new Binding(path));
src\Framework\System\Windows\FrameworkElement.cs (3)
2755
public
BindingExpression
GetBindingExpression(DependencyProperty dp)
2776
public
BindingExpression
SetBinding(DependencyProperty dp, string path)
2778
return (
BindingExpression
)SetBinding(dp, new Binding(path));
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
114
case 22: t = () => typeof(
BindingExpression
); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
1878
typeof(System.Windows.Data.
BindingExpression
),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
5566
case KnownElements.BindingExpression: t = typeof(System.Windows.Data.
BindingExpression
); break;
src\Framework\System\Windows\StyleHelper.cs (1)
2878
bindingExpr =
BindingExpression
.CreateUntargetedBindingExpression(container, binding);
System.Activities.Core.Presentation (2)
System\Activities\Core\Presentation\CaseKeyBox.xaml.cs (2)
348
BindingExpression
binding = ((TextBox)sender).GetBindingExpression(TextBox.TextProperty);
356
BindingExpression
binding = ((ComboBox)sender).GetBindingExpression(ComboBox.TextProperty);
System.Activities.Presentation (11)
System.Activities.Presentation\System\Activities\Presentation\Annotations\FloatingAnnotationView.xaml.cs (1)
69
BindingExpression
be = this.annotationTextBox.GetBindingExpression(TextBox.TextProperty);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\FlagEditor.xaml.cs (2)
36
BindingExpression
binding = this.GetBindingExpression(ComboBox.TextProperty);
45
BindingExpression
binding = this.GetBindingExpression(ComboBox.TextProperty);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\ValueEditorUtils.cs (1)
49
BindingExpression
bindingExpression = element.GetBindingExpression(property);
System.Activities.Presentation\System\Activities\Presentation\View\ArgumentDesigner.xaml.cs (1)
1560
var
expr = this.GetBindingExpression(PropertyValueTextBox.TextProperty);
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (1)
1001
BindingExpression
textBinding = textBox.GetBindingExpression(TextBox.TextProperty);
System.Activities.Presentation\System\Activities\Presentation\View\TypePresenter.xaml.cs (1)
670
BindingExpression
binding = this.typeComboBox.GetBindingExpression(ComboBox.SelectedItemProperty);
System.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (2)
1542
var
expr = this.GetBindingExpression(ScopeComboBox.SelectedItemProperty);
1570
var
expr = this.GetBindingExpression(ScopeComboBox.SelectedItemProperty);
System.Activities.Presentation\System\Activities\Presentation\View\VBIdentifierDesigner.xaml.cs (2)
86
var
binding = this.GetBindingExpression(VBIdentifierDesigner.IdentifierProperty);
154
var
binding = this.textBox.GetBindingExpression(TextBox.TextProperty);