3 types derived from BindingExpressionBase
PresentationFramework (3)
System\Windows\Data\BindingExpression.cs (1)
38public sealed class BindingExpression : BindingExpressionBase, IDataBindEngineClient, IWeakEventListener
System\Windows\Data\MultiBindingExpression.cs (1)
26public sealed class MultiBindingExpression: BindingExpressionBase, IDataBindEngineClient
System\Windows\Data\PriorityBindingExpression.cs (1)
26public sealed class PriorityBindingExpression : BindingExpressionBase
261 references to BindingExpressionBase
PresentationFramework (261)
MS\Internal\Data\ClrBindingWorker.cs (2)
852_item = BindingExpressionBase.CreateReference(item); 862internal DependencyObject DependencyObject { get { return (DependencyObject)BindingExpressionBase.GetReference(_item); } }
MS\Internal\Data\CommitManager.cs (13)
34internal void AddBinding(BindingExpressionBase binding) 39internal void RemoveBinding(BindingExpressionBase binding) 68internal List<BindingExpressionBase> GetBindingsInScope(DependencyObject element) 72List<BindingExpressionBase> fullList = _bindings.ToList(); 73List<BindingExpressionBase> list = EmptyBindingList; 75foreach (BindingExpressionBase binding in fullList) 84list = new List<BindingExpressionBase>(); 102List<BindingExpressionBase> list = _bindings.ToList(); 103foreach (BindingExpressionBase binding in list) 142Set<BindingExpressionBase> _bindings = new Set<BindingExpressionBase>(); 145static readonly List<BindingExpressionBase> EmptyBindingList = new List<BindingExpressionBase>();
MS\Internal\Data\LiveShapingItem.cs (1)
127BindingExpressionBase beb = binding.CreateBindingExpression(this, dp);
MS\Internal\Data\PropertyPathWorker.cs (4)
635rawValue == BindingExpressionBase.DisconnectedItem && 668RawValue() == BindingExpressionBase.DisconnectedItem) 742parent == BindingExpressionBase.DisconnectedItem) 748parent == BindingExpressionBase.DisconnectedItem)
MS\Internal\Data\SortFieldComparer.cs (1)
186System.Windows.Data.BindingExpressionBase.IsNullValue(value))
MS\Internal\Data\XmlBindingWorker.cs (3)
257else if (TargetProperty == BindingExpressionBase.NoTargetProperty && 299if (DataItem == BindingExpressionBase.DisconnectedItem) 434if (DataItem == BindingExpressionBase.DisconnectedItem)
MS\Internal\TraceData.cs (6)
157else if (o is BindingExpressionBase) 159BindingExpressionBase beb = o as BindingExpressionBase; 302public static void TraceAndNotify(TraceEventType eventType, AvTraceDetails traceDetails, BindingExpressionBase binding, Exception exception = null) 330public static void TraceAndNotify(TraceEventType eventType, AvTraceDetails traceDetails, BindingExpressionBase binding, object[] traceParameters, object[] eventParameters = null) 345public static void TraceAndNotifyWithNoParameters(TraceEventType eventType, AvTraceDetails traceDetails, BindingExpressionBase binding)
System\Windows\Controls\ContentControl.cs (1)
157Content = BindingExpressionBase.DisconnectedItem;
System\Windows\Controls\ContentPresenter.cs (2)
180if (e.NewValue == BindingExpressionBase.DisconnectedItem) 618Content = BindingExpressionBase.DisconnectedItem;
System\Windows\Controls\DataGridCell.cs (4)
402oldContent.SetValue(FrameworkElement.DataContextProperty, BindingExpressionBase.DisconnectedItem); 409cp.Content = BindingExpressionBase.DisconnectedItem; 425BindingExpressionBase[] bindingExpressionsCopy = new BindingExpressionBase[bindingExpressions.Count];
System\Windows\Controls\DataGridHelper.cs (12)
530Collection<BindingExpressionBase> expressions = bindingGroup.BindingExpressions; 531BindingExpressionBase[] bindingExpressionsCopy = new BindingExpressionBase[expressions.Count]; 544BindingExpressionBase beb = bindingExpressionsCopy[i]; 555internal static bool BindingExpressionBelongsToElement<T>(BindingExpressionBase beb, T element) where T : FrameworkElement 575private static DependencyObject FindContextElement(BindingExpressionBase beb) 588ReadOnlyCollection<BindingExpressionBase> childBindings = null; 600foreach (BindingExpressionBase childBEB in childBindings) 646Collection<BindingExpressionBase> expressions = bindingGroup.BindingExpressions; 647BindingExpressionBase[] bindingExpressionsCopy = new BindingExpressionBase[expressions.Count]; 658BindingExpressionBase beb = bindingExpressionsCopy[i];
System\Windows\Controls\DataGridRow.cs (2)
490Item = BindingExpressionBase.DisconnectedItem; 494detailsPresenter.Content = BindingExpressionBase.DisconnectedItem;
System\Windows\Controls\GridViewRowPresenter.cs (2)
93if (e.NewValue == BindingExpressionBase.DisconnectedItem) 98else if (e.OldValue == BindingExpressionBase.DisconnectedItem)
System\Windows\Controls\HeaderedContentControl.cs (2)
366Content = BindingExpressionBase.DisconnectedItem; 371Header = BindingExpressionBase.DisconnectedItem;
System\Windows\Controls\HeaderedItemsControl.cs (2)
310Header = BindingExpressionBase.DisconnectedItem; 527BindingExpressionBase bindExpr = BindingOperations.GetBindingExpression(this, dp);
System\Windows\Controls\ItemContainerGenerator.cs (1)
2345container.SetValue(dp, BindingExpressionBase.DisconnectedItem);
System\Windows\Controls\ItemsControl.cs (1)
189BindingExpressionBase beb = BindingOperations.GetBindingExpressionBase(d, ItemsSourceProperty);
System\Windows\Controls\Primitives\Selector.cs (1)
1100if (DataContext == BindingExpressionBase.DisconnectedItem)
System\Windows\Controls\TabItem.cs (1)
396if (newContent == BindingExpressionBase.DisconnectedItem)
System\Windows\Controls\TextBox.cs (1)
1631BindingExpressionBase beb = BindingOperations.GetBindingExpression(this, TextProperty);
System\Windows\Controls\Validation.cs (2)
485public static void MarkInvalid(BindingExpressionBase bindingExpression, ValidationError validationError) 497public static void ClearInvalid(BindingExpressionBase bindingExpression)
System\Windows\Controls\ValidationRule.cs (1)
55public virtual ValidationResult Validate(object value, CultureInfo cultureInfo, BindingExpressionBase owner)
System\Windows\Data\Binding.cs (2)
672internal override BindingExpressionBase CreateBindingExpressionOverride(DependencyObject target, DependencyProperty dp, BindingExpressionBase owner)
System\Windows\Data\BindingBase.cs (23)
229OneWay = BindingExpressionBase.BindingFlags.OneWay, 231TwoWay = BindingExpressionBase.BindingFlags.TwoWay, 233OneWayToSource = BindingExpressionBase.BindingFlags.OneWayToSource, 235OneTime = BindingExpressionBase.BindingFlags.OneTime, 237PropDefault = BindingExpressionBase.BindingFlags.PropDefault, 240NotifyOnTargetUpdated = BindingExpressionBase.BindingFlags.NotifyOnTargetUpdated, 242NotifyOnSourceUpdated = BindingExpressionBase.BindingFlags.NotifyOnSourceUpdated, 244NotifyOnValidationError = BindingExpressionBase.BindingFlags.NotifyOnValidationError, 247UpdateDefault = BindingExpressionBase.BindingFlags.UpdateDefault, 249UpdateOnPropertyChanged = BindingExpressionBase.BindingFlags.UpdateOnPropertyChanged, 251UpdateOnLostFocus = BindingExpressionBase.BindingFlags.UpdateOnLostFocus, 253UpdateExplicitly = BindingExpressionBase.BindingFlags.UpdateExplicitly, 259PathGeneratedInternally = BindingExpressionBase.BindingFlags.PathGeneratedInternally, 261ValidatesOnExceptions = BindingExpressionBase.BindingFlags.ValidatesOnExceptions, 262ValidatesOnDataErrors = BindingExpressionBase.BindingFlags.ValidatesOnDataErrors, 263ValidatesOnNotifyDataErrors = BindingExpressionBase.BindingFlags.ValidatesOnNotifyDataErrors, 272Default = BindingExpressionBase.BindingFlags.Default | ValidatesOnNotifyDataErrors, 275IllegalInput = BindingExpressionBase.BindingFlags.IllegalInput, 292internal abstract BindingExpressionBase CreateBindingExpressionOverride(DependencyObject targetObject, DependencyProperty targetProperty, BindingExpressionBase owner); 403internal BindingExpressionBase CreateBindingExpression(DependencyObject targetObject, DependencyProperty targetProperty) 413internal BindingExpressionBase CreateBindingExpression(DependencyObject targetObject, DependencyProperty targetProperty, BindingExpressionBase owner)
System\Windows\Data\BindingExpression.cs (5)
55private BindingExpression(Binding binding, BindingExpressionBase owner) 255internal override void InvalidateChild(BindingExpressionBase bindingExpression) 263internal override void ChangeSourcesForChild(BindingExpressionBase bindingExpression, WeakDependencySource[] newSources) 271internal override void ReplaceChild(BindingExpressionBase bindingExpression) 393BindingExpressionBase parent)
System\Windows\Data\BindingExpressionBase.cs (28)
122internal BindingExpressionBase(BindingBase binding, BindingExpressionBase parent) : base(ExpressionMode.SupportsUnboundSources) 203BindingExpressionBase root = RootBindingExpression; 508internal static BindingExpressionBase CreateUntargetedBindingExpression(DependencyObject d, BindingBase binding) 795internal BindingExpressionBase ParentBindingExpressionBase 797get { return (BindingExpressionBase)GetValue(Feature.ParentBindingExpressionBase, null); } 842internal BindingExpressionBase RootBindingExpression 846BindingExpressionBase child = this; 847BindingExpressionBase parent = this.ParentBindingExpressionBase; 980internal abstract void InvalidateChild(BindingExpressionBase bindingExpression); 985internal abstract void ChangeSourcesForChild(BindingExpressionBase bindingExpression, WeakDependencySource[] newSources); 990internal abstract void ReplaceChild(BindingExpressionBase bindingExpression); 1648BindingExpressionBase root = RootBindingExpression; 1661BindingExpressionBase root = RootBindingExpression; 1794BindingExpressionBase root = null; // set to non-null by the next loop 1796for ( BindingExpressionBase bindingExpr = this; 1864BindingExpressionBase root = RootBindingExpression; 1911internal void AdoptProperties(BindingExpressionBase bb) 2035DependencyProperty.RegisterAttached("NoTarget", typeof(object), typeof(BindingExpressionBase), 2142sender as BindingExpressionBase, e); 2168sender as BindingExpressionBase, e); 2445Collection<BindingExpressionBase> bindingExpressions, 2468BindingExpressionBase bindExpr = bindingExpressions[i]; 2566BindingExpressionBase be = this.ParentBindingExpressionBase; 2596BindingExpressionBase be = this.ParentBindingExpressionBase; 2669BindingExpressionBase be = this.ParentBindingExpressionBase; 2722for (BindingExpressionBase ancestor = ParentBindingExpressionBase; 2744BindingExpressionBase beb = ParentBindingExpressionBase; 2852internal static void InitializeTracing(BindingExpressionBase expr, DependencyObject d, DependencyProperty dp)
System\Windows\Data\BindingGroup.cs (46)
99public Collection<BindingExpressionBase> BindingExpressions 220foreach (BindingExpressionBase bb in _bindingExpressions) 308BindingExpressionBase bb; 311( (bb = error.BindingInError as BindingExpressionBase) != null && 689internal void AddToValueTable(BindingExpressionBase bindingExpressionBase) 695internal object GetValue(BindingExpressionBase bindingExpressionBase) 701internal void SetValue(BindingExpressionBase bindingExpressionBase, object value) 707internal void UseSourceValue(BindingExpressionBase bindingExpressionBase) 725internal void AddBindingForProposedValue(BindingExpressionBase dependent, object item, string propertyName) 821dataContextItem != BindingExpressionBase.DisconnectedItem) 942if (e.NewValue == BindingExpressionBase.DisconnectedItem) 1107BindingExpressionBase.GetValidationDelta(itemErrors, errors, out toAdd, out toRemove); 1322BindingExpressionBase bindingExpr; 1327bindingExpr = e.NewItems[0] as BindingExpressionBase; 1331bindingExpr = e.OldItems[0] as BindingExpressionBase; 1337bindingExpr = e.OldItems[0] as BindingExpressionBase; 1339bindingExpr = e.NewItems[0] as BindingExpressionBase; 1356void RemoveBindingExpression(BindingExpressionBase exprBase) 1359BindingExpressionBase root = exprBase.RootBindingExpression; 1364Collection<BindingExpressionBase.ProposedValue> proposedValues; 1370List<BindingExpressionBase> list = _getValueTable.RemoveRootBinding(root); 1373foreach (BindingExpressionBase expr in list) 1403void PreserveProposedValues(Collection<BindingExpressionBase.ProposedValue> proposedValues) 1604public GetValueTableEntry this[BindingExpressionBase bindingExpressionBase] 1622public void EnsureEntry(BindingExpressionBase bindingExpressionBase) 1650public List<BindingExpressionBase> RemoveRootBinding(BindingExpressionBase rootBindingExpression) 1652List<BindingExpressionBase> result = new List<BindingExpressionBase>(); 1656BindingExpressionBase expr = _table[i].BindingExpressionBase; 1685public object GetValue(BindingExpressionBase bindingExpressionBase) 1692public void SetValue(BindingExpressionBase bindingExpressionBase, object value) 1711public void UseSourceValue(BindingExpressionBase rootBindingExpression) 1734public GetValueTableEntry(BindingExpressionBase bindingExpressionBase) 1773public BindingExpressionBase BindingExpressionBase 1798BindingExpressionBase _bindingExpressionBase; 1810public void Add(BindingExpressionBase.ProposedValue proposedValue) 1898Collection<BindingExpressionBase> dependents = _table[i].Dependents; 1903BindingExpressionBase beb = dependents[j]; 1966public Collection<BindingExpressionBase> Dependents { get { return _dependents; } } 1968public void AddDependent(BindingExpressionBase dependent) 1972_dependents = new Collection<BindingExpressionBase>(); 1983Collection<BindingExpressionBase> _dependents; 1987class BindingExpressionCollection : ObservableCollection<BindingExpressionBase> 1993protected override void InsertItem(int index, BindingExpressionBase item) 2004protected override void SetItem(int index, BindingExpressionBase item)
System\Windows\Data\BindingOperations.cs (11)
40get { return BindingExpressionBase.DisconnectedItem; } 62public static BindingExpressionBase SetBinding(DependencyObject target, DependencyProperty dp, BindingBase binding) 69BindingExpressionBase bindExpr = binding.CreateBindingExpression(target, dp); 91BindingExpressionBase b = GetBindingExpressionBase(target, dp); 150public static BindingExpressionBase GetBindingExpressionBase(DependencyObject target, DependencyProperty dp) 157return expr as BindingExpressionBase; 172BindingExpressionBase expr = GetBindingExpressionBase(target, dp); 274return (o is BindingExpressionBase); 378public static ReadOnlyCollection<BindingExpressionBase> GetSourceUpdatingBindings(DependencyObject root) 380List<BindingExpressionBase> list = DataBindEngine.CurrentDataBindEngine.CommitManager.GetBindingsInScope(root); 381return new ReadOnlyCollection<BindingExpressionBase>(list);
System\Windows\Data\CollectionViewSource.cs (1)
951BindingExpressionBase beb = BindingOperations.GetBindingExpressionBase(this, SourceProperty);
System\Windows\Data\MultiBinding.cs (2)
339internal override BindingExpressionBase CreateBindingExpressionOverride(DependencyObject target, DependencyProperty dp, BindingExpressionBase owner)
System\Windows\Data\MultiBindingExpression.cs (20)
35private MultiBindingExpression(MultiBinding binding, BindingExpressionBase owner) 91public ReadOnlyCollection<BindingExpressionBase> BindingExpressions 93get { return new ReadOnlyCollection<BindingExpressionBase>(MutableBindingExpressions); } 155internal static MultiBindingExpression CreateBindingExpression(DependencyObject d, DependencyProperty dp, MultiBinding binding, BindingExpressionBase owner) 402BindingExpressionBase b = MutableBindingExpressions[i]; 419internal override void InvalidateChild(BindingExpressionBase bindingExpression) 434internal override void ChangeSourcesForChild(BindingExpressionBase bindingExpression, WeakDependencySource[] newSources) 454internal override void ReplaceChild(BindingExpressionBase bindingExpression) 571BindingExpressionBase bindExpr = MutableBindingExpressions[i]; 623BindingExpressionBase bindExpr = MutableBindingExpressions[i]; 699BindingExpressionBase bindExpr = MutableBindingExpressions[i]; 910BindingExpressionBase bindExpr = MutableBindingExpressions[i]; 971private Collection<BindingExpressionBase> MutableBindingExpressions 989BindingExpressionBase AttachBindingExpression(int i, bool replaceExisting) 1000BindingExpressionBase bindExpr = binding.CreateBindingExpression(target, TargetProperty, this); 1039BindingExpressionBase bindExpr = MutableBindingExpressions[i]; 1112foreach (BindingExpressionBase b in MutableBindingExpressions) 1399foreach (BindingExpressionBase beb in MutableBindingExpressions) 1431Collection<BindingExpressionBase> _list = new Collection<BindingExpressionBase>();
System\Windows\Data\PriorityBinding.cs (2)
103internal override BindingExpressionBase CreateBindingExpressionOverride(DependencyObject target, DependencyProperty dp, BindingExpressionBase owner)
System\Windows\Data\PriorityBindingExpression.cs (32)
34private PriorityBindingExpression(PriorityBinding binding, BindingExpressionBase owner) 49public ReadOnlyCollection<BindingExpressionBase> BindingExpressions 51get { return new ReadOnlyCollection<BindingExpressionBase>(MutableBindingExpressions); } 55public BindingExpressionBase ActiveBindingExpression 79BindingExpressionBase bindExpr = ActiveBindingExpression; 90BindingExpressionBase bindExpr = ActiveBindingExpression; 109BindingExpressionBase bindExpr = ActiveBindingExpression; 142internal static PriorityBindingExpression CreateBindingExpression(DependencyObject d, DependencyProperty dp, PriorityBinding binding, BindingExpressionBase owner) 210BindingExpressionBase b = MutableBindingExpressions[i]; 223internal override void InvalidateChild(BindingExpressionBase bindingExpression) 247BindingExpressionBase bindExpr = ActiveBindingExpression; 278internal override void ChangeSourcesForChild(BindingExpressionBase bindingExpression, WeakDependencySource[] newSources) 292internal override void ReplaceChild(BindingExpressionBase bindingExpression) 319BindingExpressionBase active = ActiveBindingExpression; 328BindingExpressionBase bindExpr = ActiveBindingExpression; 341BindingExpressionBase bindExpr = ActiveBindingExpression; 354BindingExpressionBase bindExpr = ActiveBindingExpression; 369BindingExpressionBase bindExpr = ActiveBindingExpression; 394BindingExpressionBase bindExpr = ActiveBindingExpression; 412BindingExpressionBase bindExpr = ActiveBindingExpression; 424BindingExpressionBase bindExpr = ActiveBindingExpression; 437BindingExpressionBase bindExpr = ActiveBindingExpression; 453BindingExpressionBase bindExpr = ActiveBindingExpression; 466BindingExpressionBase bindExpr = ActiveBindingExpression; 476BindingExpressionBase bindExpr = ActiveBindingExpression; 493private Collection<BindingExpressionBase> MutableBindingExpressions 506BindingExpressionBase AttachBindingExpression(int i, bool replaceExisting) 514BindingExpressionBase bindExpr = binding.CreateBindingExpression(target, TargetProperty, this); 530BindingExpressionBase bindExpr = MutableBindingExpressions[i]; 583BindingExpressionBase bindExpr = MutableBindingExpressions[i]; 610Collection<BindingExpressionBase> _list = new Collection<BindingExpressionBase>();
System\Windows\Diagnostics\BindingFailedEventArgs.cs (2)
38public BindingExpressionBase Binding { get; } 45internal BindingFailedEventArgs(TraceEventType eventType, int code, string message, BindingExpressionBase binding, params object[] parameters)
System\Windows\Documents\TextContainer.cs (2)
309BindingExpressionBase expr = property.Value as BindingExpressionBase;
System\windows\Documents\TextEditorDragDrop.cs (1)
265BindingExpressionBase bindingExpression = BindingOperations.GetBindingExpressionBase(
System\Windows\FrameworkContentElement.cs (2)
1153if (e.NewValue == BindingExpressionBase.DisconnectedItem) 1174public BindingExpressionBase SetBinding(DependencyProperty dp, BindingBase binding)
System\Windows\FrameworkElement.cs (2)
2734if (e.NewValue == BindingExpressionBase.DisconnectedItem) 2756public BindingExpressionBase SetBinding(DependencyProperty dp, BindingBase binding)
System\Windows\FrameworkTemplate.cs (2)
787BindingExpressionBase bindingExpr; 790if ((bindingExpr = expr as BindingExpressionBase) != null)
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
117case 23: t = () => typeof(BindingExpressionBase); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
1892typeof(System.Windows.Data.BindingExpressionBase),
System\Windows\Markup\KnownTypes.cs (1)
5577case KnownElements.BindingExpressionBase: t = typeof(System.Windows.Data.BindingExpressionBase); break;
System\Windows\StyleHelper.cs (10)
1739BindingExpressionBase bindingExpr = (BindingExpressionBase)instanceValues[binding]; 2869BindingExpressionBase bindingExpr = (BindingExpressionBase)instanceValues[binding]; 5124BindingExpressionBase bindingExpr = (BindingExpressionBase)sender; 5161BindingExpressionBase bindingExpr = (BindingExpressionBase)sender; 5204BindingExpressionBase bindingExpr = (BindingExpressionBase)sender;