3 types derived from BindingExpressionBase
PresentationFramework (3)
System\Windows\Data\BindingExpression.cs (1)
47public sealed class BindingExpression : BindingExpressionBase, IDataBindEngineClient, IWeakEventListener
System\Windows\Data\MultiBindingExpression.cs (1)
37public sealed class MultiBindingExpression: BindingExpressionBase, IDataBindEngineClient
System\Windows\Data\PriorityBindingExpression.cs (1)
33public sealed class PriorityBindingExpression : BindingExpressionBase
261 references to BindingExpressionBase
PresentationFramework (261)
MS\Internal\Data\ClrBindingWorker.cs (2)
861_item = BindingExpressionBase.CreateReference(item); 871internal DependencyObject DependencyObject { get { return (DependencyObject)BindingExpressionBase.GetReference(_item); } }
MS\Internal\Data\CommitManager.cs (13)
40internal void AddBinding(BindingExpressionBase binding) 45internal void RemoveBinding(BindingExpressionBase binding) 74internal List<BindingExpressionBase> GetBindingsInScope(DependencyObject element) 78List<BindingExpressionBase> fullList = _bindings.ToList(); 79List<BindingExpressionBase> list = EmptyBindingList; 81foreach (BindingExpressionBase binding in fullList) 90list = new List<BindingExpressionBase>(); 108List<BindingExpressionBase> list = _bindings.ToList(); 109foreach (BindingExpressionBase binding in list) 148Set<BindingExpressionBase> _bindings = new Set<BindingExpressionBase>(); 151static readonly List<BindingExpressionBase> EmptyBindingList = new List<BindingExpressionBase>();
MS\Internal\Data\LiveShapingItem.cs (1)
130BindingExpressionBase beb = binding.CreateBindingExpression(this, dp);
MS\Internal\Data\PropertyPathWorker.cs (4)
641rawValue == BindingExpressionBase.DisconnectedItem && 674RawValue() == BindingExpressionBase.DisconnectedItem) 748parent == BindingExpressionBase.DisconnectedItem) 754parent == BindingExpressionBase.DisconnectedItem)
MS\Internal\Data\SortFieldComparer.cs (1)
190System.Windows.Data.BindingExpressionBase.IsNullValue(value))
MS\Internal\Data\XmlBindingWorker.cs (3)
263else if (TargetProperty == BindingExpressionBase.NoTargetProperty && 305if (DataItem == BindingExpressionBase.DisconnectedItem) 440if (DataItem == BindingExpressionBase.DisconnectedItem)
MS\Internal\TraceData.cs (6)
162else if (o is BindingExpressionBase) 164BindingExpressionBase beb = o as BindingExpressionBase; 307public static void TraceAndNotify(TraceEventType eventType, AvTraceDetails traceDetails, BindingExpressionBase binding, Exception exception = null) 335public static void TraceAndNotify(TraceEventType eventType, AvTraceDetails traceDetails, BindingExpressionBase binding, object[] traceParameters, object[] eventParameters = null) 350public static void TraceAndNotifyWithNoParameters(TraceEventType eventType, AvTraceDetails traceDetails, BindingExpressionBase binding)
System\Windows\Controls\ContentControl.cs (1)
166Content = BindingExpressionBase.DisconnectedItem;
System\Windows\Controls\ContentPresenter.cs (2)
189if (e.NewValue == BindingExpressionBase.DisconnectedItem) 627Content = BindingExpressionBase.DisconnectedItem;
System\Windows\Controls\DataGridCell.cs (4)
409oldContent.SetValue(FrameworkElement.DataContextProperty, BindingExpressionBase.DisconnectedItem); 416cp.Content = BindingExpressionBase.DisconnectedItem; 432BindingExpressionBase[] bindingExpressionsCopy = new BindingExpressionBase[bindingExpressions.Count];
System\Windows\Controls\DataGridHelper.cs (12)
536Collection<BindingExpressionBase> expressions = bindingGroup.BindingExpressions; 537BindingExpressionBase[] bindingExpressionsCopy = new BindingExpressionBase[expressions.Count]; 550BindingExpressionBase beb = bindingExpressionsCopy[i]; 561internal static bool BindingExpressionBelongsToElement<T>(BindingExpressionBase beb, T element) where T : FrameworkElement 581private static DependencyObject FindContextElement(BindingExpressionBase beb) 594ReadOnlyCollection<BindingExpressionBase> childBindings = null; 606foreach (BindingExpressionBase childBEB in childBindings) 652Collection<BindingExpressionBase> expressions = bindingGroup.BindingExpressions; 653BindingExpressionBase[] bindingExpressionsCopy = new BindingExpressionBase[expressions.Count]; 664BindingExpressionBase beb = bindingExpressionsCopy[i];
System\Windows\Controls\DataGridRow.cs (2)
494Item = BindingExpressionBase.DisconnectedItem; 498detailsPresenter.Content = BindingExpressionBase.DisconnectedItem;
System\Windows\Controls\GridViewRowPresenter.cs (2)
97if (e.NewValue == BindingExpressionBase.DisconnectedItem) 102else if (e.OldValue == BindingExpressionBase.DisconnectedItem)
System\Windows\Controls\HeaderedContentControl.cs (2)
371Content = BindingExpressionBase.DisconnectedItem; 376Header = BindingExpressionBase.DisconnectedItem;
System\Windows\Controls\HeaderedItemsControl.cs (2)
315Header = BindingExpressionBase.DisconnectedItem; 532BindingExpressionBase bindExpr = BindingOperations.GetBindingExpression(this, dp);
System\Windows\Controls\ItemContainerGenerator.cs (1)
2351container.SetValue(dp, BindingExpressionBase.DisconnectedItem);
System\Windows\Controls\ItemsControl.cs (1)
198BindingExpressionBase beb = BindingOperations.GetBindingExpressionBase(d, ItemsSourceProperty);
System\Windows\Controls\Primitives\Selector.cs (1)
1109if (DataContext == BindingExpressionBase.DisconnectedItem)
System\Windows\Controls\TabItem.cs (1)
402if (newContent == BindingExpressionBase.DisconnectedItem)
System\Windows\Controls\TextBox.cs (1)
1638BindingExpressionBase beb = BindingOperations.GetBindingExpression(this, TextProperty);
System\Windows\Controls\Validation.cs (2)
493public static void MarkInvalid(BindingExpressionBase bindingExpression, ValidationError validationError) 505public static void ClearInvalid(BindingExpressionBase bindingExpression)
System\Windows\Controls\ValidationRule.cs (1)
56public virtual ValidationResult Validate(object value, CultureInfo cultureInfo, BindingExpressionBase owner)
System\Windows\Data\Binding.cs (2)
680internal override BindingExpressionBase CreateBindingExpressionOverride(DependencyObject target, DependencyProperty dp, BindingExpressionBase owner)
System\Windows\Data\BindingBase.cs (23)
231OneWay = BindingExpressionBase.BindingFlags.OneWay, 233TwoWay = BindingExpressionBase.BindingFlags.TwoWay, 235OneWayToSource = BindingExpressionBase.BindingFlags.OneWayToSource, 237OneTime = BindingExpressionBase.BindingFlags.OneTime, 239PropDefault = BindingExpressionBase.BindingFlags.PropDefault, 242NotifyOnTargetUpdated = BindingExpressionBase.BindingFlags.NotifyOnTargetUpdated, 244NotifyOnSourceUpdated = BindingExpressionBase.BindingFlags.NotifyOnSourceUpdated, 246NotifyOnValidationError = BindingExpressionBase.BindingFlags.NotifyOnValidationError, 249UpdateDefault = BindingExpressionBase.BindingFlags.UpdateDefault, 251UpdateOnPropertyChanged = BindingExpressionBase.BindingFlags.UpdateOnPropertyChanged, 253UpdateOnLostFocus = BindingExpressionBase.BindingFlags.UpdateOnLostFocus, 255UpdateExplicitly = BindingExpressionBase.BindingFlags.UpdateExplicitly, 261PathGeneratedInternally = BindingExpressionBase.BindingFlags.PathGeneratedInternally, 263ValidatesOnExceptions = BindingExpressionBase.BindingFlags.ValidatesOnExceptions, 264ValidatesOnDataErrors = BindingExpressionBase.BindingFlags.ValidatesOnDataErrors, 265ValidatesOnNotifyDataErrors = BindingExpressionBase.BindingFlags.ValidatesOnNotifyDataErrors, 274Default = BindingExpressionBase.BindingFlags.Default | ValidatesOnNotifyDataErrors, 277IllegalInput = BindingExpressionBase.BindingFlags.IllegalInput, 294internal abstract BindingExpressionBase CreateBindingExpressionOverride(DependencyObject targetObject, DependencyProperty targetProperty, BindingExpressionBase owner); 405internal BindingExpressionBase CreateBindingExpression(DependencyObject targetObject, DependencyProperty targetProperty) 415internal BindingExpressionBase CreateBindingExpression(DependencyObject targetObject, DependencyProperty targetProperty, BindingExpressionBase owner)
System\Windows\Data\BindingExpression.cs (5)
64private BindingExpression(Binding binding, BindingExpressionBase owner) 264internal override void InvalidateChild(BindingExpressionBase bindingExpression) 272internal override void ChangeSourcesForChild(BindingExpressionBase bindingExpression, WeakDependencySource[] newSources) 280internal override void ReplaceChild(BindingExpressionBase bindingExpression) 402BindingExpressionBase parent)
System\Windows\Data\BindingExpressionBase.cs (28)
130internal BindingExpressionBase(BindingBase binding, BindingExpressionBase parent) : base(ExpressionMode.SupportsUnboundSources) 211BindingExpressionBase root = RootBindingExpression; 516internal static BindingExpressionBase CreateUntargetedBindingExpression(DependencyObject d, BindingBase binding) 803internal BindingExpressionBase ParentBindingExpressionBase 805get { return (BindingExpressionBase)GetValue(Feature.ParentBindingExpressionBase, null); } 850internal BindingExpressionBase RootBindingExpression 854BindingExpressionBase child = this; 855BindingExpressionBase parent = this.ParentBindingExpressionBase; 988internal abstract void InvalidateChild(BindingExpressionBase bindingExpression); 993internal abstract void ChangeSourcesForChild(BindingExpressionBase bindingExpression, WeakDependencySource[] newSources); 998internal abstract void ReplaceChild(BindingExpressionBase bindingExpression); 1656BindingExpressionBase root = RootBindingExpression; 1669BindingExpressionBase root = RootBindingExpression; 1802BindingExpressionBase root = null; // set to non-null by the next loop 1804for ( BindingExpressionBase bindingExpr = this; 1872BindingExpressionBase root = RootBindingExpression; 1919internal void AdoptProperties(BindingExpressionBase bb) 2043DependencyProperty.RegisterAttached("NoTarget", typeof(object), typeof(BindingExpressionBase), 2150sender as BindingExpressionBase, e); 2176sender as BindingExpressionBase, e); 2453Collection<BindingExpressionBase> bindingExpressions, 2476BindingExpressionBase bindExpr = bindingExpressions[i]; 2574BindingExpressionBase be = this.ParentBindingExpressionBase; 2604BindingExpressionBase be = this.ParentBindingExpressionBase; 2677BindingExpressionBase be = this.ParentBindingExpressionBase; 2730for (BindingExpressionBase ancestor = ParentBindingExpressionBase; 2752BindingExpressionBase beb = ParentBindingExpressionBase; 2860internal static void InitializeTracing(BindingExpressionBase expr, DependencyObject d, DependencyProperty dp)
System\Windows\Data\BindingGroup.cs (46)
104public Collection<BindingExpressionBase> BindingExpressions 225foreach (BindingExpressionBase bb in _bindingExpressions) 313BindingExpressionBase bb; 316( (bb = error.BindingInError as BindingExpressionBase) != null && 694internal void AddToValueTable(BindingExpressionBase bindingExpressionBase) 700internal object GetValue(BindingExpressionBase bindingExpressionBase) 706internal void SetValue(BindingExpressionBase bindingExpressionBase, object value) 712internal void UseSourceValue(BindingExpressionBase bindingExpressionBase) 730internal void AddBindingForProposedValue(BindingExpressionBase dependent, object item, string propertyName) 826dataContextItem != BindingExpressionBase.DisconnectedItem) 947if (e.NewValue == BindingExpressionBase.DisconnectedItem) 1112BindingExpressionBase.GetValidationDelta(itemErrors, errors, out toAdd, out toRemove); 1327BindingExpressionBase bindingExpr; 1332bindingExpr = e.NewItems[0] as BindingExpressionBase; 1336bindingExpr = e.OldItems[0] as BindingExpressionBase; 1342bindingExpr = e.OldItems[0] as BindingExpressionBase; 1344bindingExpr = e.NewItems[0] as BindingExpressionBase; 1361void RemoveBindingExpression(BindingExpressionBase exprBase) 1364BindingExpressionBase root = exprBase.RootBindingExpression; 1369Collection<BindingExpressionBase.ProposedValue> proposedValues; 1375List<BindingExpressionBase> list = _getValueTable.RemoveRootBinding(root); 1378foreach (BindingExpressionBase expr in list) 1408void PreserveProposedValues(Collection<BindingExpressionBase.ProposedValue> proposedValues) 1609public GetValueTableEntry this[BindingExpressionBase bindingExpressionBase] 1627public void EnsureEntry(BindingExpressionBase bindingExpressionBase) 1655public List<BindingExpressionBase> RemoveRootBinding(BindingExpressionBase rootBindingExpression) 1657List<BindingExpressionBase> result = new List<BindingExpressionBase>(); 1661BindingExpressionBase expr = _table[i].BindingExpressionBase; 1690public object GetValue(BindingExpressionBase bindingExpressionBase) 1697public void SetValue(BindingExpressionBase bindingExpressionBase, object value) 1716public void UseSourceValue(BindingExpressionBase rootBindingExpression) 1739public GetValueTableEntry(BindingExpressionBase bindingExpressionBase) 1778public BindingExpressionBase BindingExpressionBase 1803BindingExpressionBase _bindingExpressionBase; 1815public void Add(BindingExpressionBase.ProposedValue proposedValue) 1903Collection<BindingExpressionBase> dependents = _table[i].Dependents; 1908BindingExpressionBase beb = dependents[j]; 1971public Collection<BindingExpressionBase> Dependents { get { return _dependents; } } 1973public void AddDependent(BindingExpressionBase dependent) 1977_dependents = new Collection<BindingExpressionBase>(); 1988Collection<BindingExpressionBase> _dependents; 1992class BindingExpressionCollection : ObservableCollection<BindingExpressionBase> 1998protected override void InsertItem(int index, BindingExpressionBase item) 2009protected override void SetItem(int index, BindingExpressionBase item)
System\Windows\Data\BindingOperations.cs (11)
49get { return BindingExpressionBase.DisconnectedItem; } 71public static BindingExpressionBase SetBinding(DependencyObject target, DependencyProperty dp, BindingBase binding) 78BindingExpressionBase bindExpr = binding.CreateBindingExpression(target, dp); 100BindingExpressionBase b = GetBindingExpressionBase(target, dp); 159public static BindingExpressionBase GetBindingExpressionBase(DependencyObject target, DependencyProperty dp) 166return expr as BindingExpressionBase; 181BindingExpressionBase expr = GetBindingExpressionBase(target, dp); 283return (o is BindingExpressionBase); 387public static ReadOnlyCollection<BindingExpressionBase> GetSourceUpdatingBindings(DependencyObject root) 389List<BindingExpressionBase> list = DataBindEngine.CurrentDataBindEngine.CommitManager.GetBindingsInScope(root); 390return new ReadOnlyCollection<BindingExpressionBase>(list);
System\Windows\Data\CollectionViewSource.cs (1)
952BindingExpressionBase beb = BindingOperations.GetBindingExpressionBase(this, SourceProperty);
System\Windows\Data\MultiBinding.cs (2)
344internal override BindingExpressionBase CreateBindingExpressionOverride(DependencyObject target, DependencyProperty dp, BindingExpressionBase owner)
System\Windows\Data\MultiBindingExpression.cs (20)
46private MultiBindingExpression(MultiBinding binding, BindingExpressionBase owner) 102public ReadOnlyCollection<BindingExpressionBase> BindingExpressions 104get { return new ReadOnlyCollection<BindingExpressionBase>(MutableBindingExpressions); } 166internal static MultiBindingExpression CreateBindingExpression(DependencyObject d, DependencyProperty dp, MultiBinding binding, BindingExpressionBase owner) 413BindingExpressionBase b = MutableBindingExpressions[i]; 430internal override void InvalidateChild(BindingExpressionBase bindingExpression) 445internal override void ChangeSourcesForChild(BindingExpressionBase bindingExpression, WeakDependencySource[] newSources) 465internal override void ReplaceChild(BindingExpressionBase bindingExpression) 582BindingExpressionBase bindExpr = MutableBindingExpressions[i]; 634BindingExpressionBase bindExpr = MutableBindingExpressions[i]; 710BindingExpressionBase bindExpr = MutableBindingExpressions[i]; 921BindingExpressionBase bindExpr = MutableBindingExpressions[i]; 982private Collection<BindingExpressionBase> MutableBindingExpressions 1000BindingExpressionBase AttachBindingExpression(int i, bool replaceExisting) 1011BindingExpressionBase bindExpr = binding.CreateBindingExpression(target, TargetProperty, this); 1050BindingExpressionBase bindExpr = MutableBindingExpressions[i]; 1123foreach (BindingExpressionBase b in MutableBindingExpressions) 1410foreach (BindingExpressionBase beb in MutableBindingExpressions) 1442Collection<BindingExpressionBase> _list = new Collection<BindingExpressionBase>();
System\Windows\Data\PriorityBinding.cs (2)
107internal override BindingExpressionBase CreateBindingExpressionOverride(DependencyObject target, DependencyProperty dp, BindingExpressionBase owner)
System\Windows\Data\PriorityBindingExpression.cs (32)
41private PriorityBindingExpression(PriorityBinding binding, BindingExpressionBase owner) 56public ReadOnlyCollection<BindingExpressionBase> BindingExpressions 58get { return new ReadOnlyCollection<BindingExpressionBase>(MutableBindingExpressions); } 62public BindingExpressionBase ActiveBindingExpression 86BindingExpressionBase bindExpr = ActiveBindingExpression; 97BindingExpressionBase bindExpr = ActiveBindingExpression; 116BindingExpressionBase bindExpr = ActiveBindingExpression; 149internal static PriorityBindingExpression CreateBindingExpression(DependencyObject d, DependencyProperty dp, PriorityBinding binding, BindingExpressionBase owner) 217BindingExpressionBase b = MutableBindingExpressions[i]; 230internal override void InvalidateChild(BindingExpressionBase bindingExpression) 254BindingExpressionBase bindExpr = ActiveBindingExpression; 285internal override void ChangeSourcesForChild(BindingExpressionBase bindingExpression, WeakDependencySource[] newSources) 299internal override void ReplaceChild(BindingExpressionBase bindingExpression) 326BindingExpressionBase active = ActiveBindingExpression; 335BindingExpressionBase bindExpr = ActiveBindingExpression; 348BindingExpressionBase bindExpr = ActiveBindingExpression; 361BindingExpressionBase bindExpr = ActiveBindingExpression; 376BindingExpressionBase bindExpr = ActiveBindingExpression; 401BindingExpressionBase bindExpr = ActiveBindingExpression; 419BindingExpressionBase bindExpr = ActiveBindingExpression; 431BindingExpressionBase bindExpr = ActiveBindingExpression; 444BindingExpressionBase bindExpr = ActiveBindingExpression; 460BindingExpressionBase bindExpr = ActiveBindingExpression; 473BindingExpressionBase bindExpr = ActiveBindingExpression; 483BindingExpressionBase bindExpr = ActiveBindingExpression; 500private Collection<BindingExpressionBase> MutableBindingExpressions 513BindingExpressionBase AttachBindingExpression(int i, bool replaceExisting) 521BindingExpressionBase bindExpr = binding.CreateBindingExpression(target, TargetProperty, this); 537BindingExpressionBase bindExpr = MutableBindingExpressions[i]; 590BindingExpressionBase bindExpr = MutableBindingExpressions[i]; 617Collection<BindingExpressionBase> _list = new Collection<BindingExpressionBase>();
System\Windows\Diagnostics\BindingFailedEventArgs.cs (2)
39public BindingExpressionBase Binding { get; } 46internal BindingFailedEventArgs(TraceEventType eventType, int code, string message, BindingExpressionBase binding, params object[] parameters)
System\Windows\Documents\TextContainer.cs (2)
314BindingExpressionBase expr = property.Value as BindingExpressionBase;
System\windows\Documents\TextEditorDragDrop.cs (1)
282BindingExpressionBase bindingExpression = BindingOperations.GetBindingExpressionBase(
System\Windows\FrameworkContentElement.cs (2)
1165if (e.NewValue == BindingExpressionBase.DisconnectedItem) 1186public BindingExpressionBase SetBinding(DependencyProperty dp, BindingBase binding)
System\Windows\FrameworkElement.cs (2)
2745if (e.NewValue == BindingExpressionBase.DisconnectedItem) 2767public BindingExpressionBase SetBinding(DependencyProperty dp, BindingBase binding)
System\Windows\FrameworkTemplate.cs (2)
796BindingExpressionBase bindingExpr; 799if ((bindingExpr = expr as BindingExpressionBase) != null)
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
119case 23: t = () => typeof(BindingExpressionBase); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
1894typeof(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)
1745BindingExpressionBase bindingExpr = (BindingExpressionBase)instanceValues[binding]; 2875BindingExpressionBase bindingExpr = (BindingExpressionBase)instanceValues[binding]; 5130BindingExpressionBase bindingExpr = (BindingExpressionBase)sender; 5167BindingExpressionBase bindingExpr = (BindingExpressionBase)sender; 5210BindingExpressionBase bindingExpr = (BindingExpressionBase)sender;