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