3 types derived from BindingExpressionBase
PresentationFramework (3)
src\Framework\System\Windows\Data\BindingExpression.cs (1)
51public sealed class BindingExpression : BindingExpressionBase, IDataBindEngineClient, IWeakEventListener
src\Framework\System\Windows\Data\MultiBindingExpression.cs (1)
40public sealed class MultiBindingExpression: BindingExpressionBase, IDataBindEngineClient
src\Framework\System\Windows\Data\PriorityBindingExpression.cs (1)
36public sealed class PriorityBindingExpression : BindingExpressionBase
254 references to BindingExpressionBase
PresentationFramework (254)
src\Framework\MS\Internal\Data\ClrBindingWorker.cs (2)
860_item = BindingExpressionBase.CreateReference(item); 870internal DependencyObject DependencyObject { get { return (DependencyObject)BindingExpressionBase.GetReference(_item); } }
src\Framework\MS\Internal\Data\CommitManager.cs (13)
44internal void AddBinding(BindingExpressionBase binding) 49internal void RemoveBinding(BindingExpressionBase binding) 78internal List<BindingExpressionBase> GetBindingsInScope(DependencyObject element) 82List<BindingExpressionBase> fullList = _bindings.ToList(); 83List<BindingExpressionBase> list = EmptyBindingList; 85foreach (BindingExpressionBase binding in fullList) 94list = new List<BindingExpressionBase>(); 112List<BindingExpressionBase> list = _bindings.ToList(); 113foreach (BindingExpressionBase binding in list) 152Set<BindingExpressionBase> _bindings = new Set<BindingExpressionBase>(); 155static readonly List<BindingExpressionBase> EmptyBindingList = new List<BindingExpressionBase>();
src\Framework\MS\Internal\Data\LiveShapingItem.cs (1)
133BindingExpressionBase beb = binding.CreateBindingExpression(this, dp);
src\Framework\MS\Internal\Data\PropertyPathWorker.cs (4)
641rawValue == BindingExpressionBase.DisconnectedItem && 674RawValue() == BindingExpressionBase.DisconnectedItem) 748parent == BindingExpressionBase.DisconnectedItem) 754parent == BindingExpressionBase.DisconnectedItem)
src\Framework\MS\Internal\Data\SortFieldComparer.cs (1)
196System.Windows.Data.BindingExpressionBase.IsNullValue(value))
src\Framework\MS\Internal\Data\XmlBindingWorker.cs (3)
264else if (TargetProperty == BindingExpressionBase.NoTargetProperty && 306if (DataItem == BindingExpressionBase.DisconnectedItem) 439if (DataItem == BindingExpressionBase.DisconnectedItem)
src\Framework\MS\Internal\TraceData.cs (3)
163else if (o is BindingExpressionBase) 165BindingExpressionBase beb = o as BindingExpressionBase;
src\Framework\System\Windows\Controls\ContentControl.cs (1)
162Content = BindingExpressionBase.DisconnectedItem;
src\Framework\System\Windows\Controls\ContentPresenter.cs (2)
191if (e.NewValue == BindingExpressionBase.DisconnectedItem) 629Content = BindingExpressionBase.DisconnectedItem;
src\Framework\System\Windows\Controls\DataGridCell.cs (4)
404oldContent.SetValue(FrameworkElement.DataContextProperty, BindingExpressionBase.DisconnectedItem); 411cp.Content = BindingExpressionBase.DisconnectedItem; 427BindingExpressionBase[] bindingExpressionsCopy = new BindingExpressionBase[bindingExpressions.Count];
src\Framework\System\Windows\Controls\DataGridHelper.cs (12)
537Collection<BindingExpressionBase> expressions = bindingGroup.BindingExpressions; 538BindingExpressionBase[] bindingExpressionsCopy = new BindingExpressionBase[expressions.Count]; 549BindingExpressionBase beb = bindingExpressionsCopy[i]; 560internal static bool BindingExpressionBelongsToElement<T>(BindingExpressionBase beb, T element) where T : FrameworkElement 580private static DependencyObject FindContextElement(BindingExpressionBase beb) 593ReadOnlyCollection<BindingExpressionBase> childBindings = null; 605foreach (BindingExpressionBase childBEB in childBindings) 651Collection<BindingExpressionBase> expressions = bindingGroup.BindingExpressions; 652BindingExpressionBase[] bindingExpressionsCopy = new BindingExpressionBase[expressions.Count]; 663BindingExpressionBase beb = bindingExpressionsCopy[i];
src\Framework\System\Windows\Controls\DataGridRow.cs (2)
495Item = BindingExpressionBase.DisconnectedItem; 499detailsPresenter.Content = BindingExpressionBase.DisconnectedItem;
src\Framework\System\Windows\Controls\GridViewRowPresenter.cs (2)
99if (e.NewValue == BindingExpressionBase.DisconnectedItem) 104else if (e.OldValue == BindingExpressionBase.DisconnectedItem)
src\Framework\System\Windows\Controls\HeaderedContentControl.cs (2)
372Content = BindingExpressionBase.DisconnectedItem; 377Header = BindingExpressionBase.DisconnectedItem;
src\Framework\System\Windows\Controls\HeaderedItemsControl.cs (2)
311Header = BindingExpressionBase.DisconnectedItem; 528BindingExpressionBase bindExpr = BindingOperations.GetBindingExpression(this, dp);
src\Framework\System\Windows\Controls\ItemContainerGenerator.cs (1)
2359container.SetValue(dp, BindingExpressionBase.DisconnectedItem);
src\Framework\System\Windows\Controls\ItemsControl.cs (1)
199BindingExpressionBase beb = BindingOperations.GetBindingExpressionBase(d, ItemsSourceProperty);
src\Framework\System\Windows\Controls\Primitives\Selector.cs (1)
1123if (DataContext == BindingExpressionBase.DisconnectedItem &&
src\Framework\System\Windows\Controls\TabItem.cs (1)
388if (newContent == BindingExpressionBase.DisconnectedItem)
src\Framework\System\Windows\Controls\TextBox.cs (1)
1631BindingExpressionBase beb = BindingOperations.GetBindingExpression(this, TextProperty);
src\Framework\System\Windows\Controls\Validation.cs (2)
485public static void MarkInvalid(BindingExpressionBase bindingExpression, ValidationError validationError) 499public static void ClearInvalid(BindingExpressionBase bindingExpression)
src\Framework\System\Windows\Controls\ValidationRule.cs (1)
63public virtual ValidationResult Validate(object value, CultureInfo cultureInfo, BindingExpressionBase owner)
src\Framework\System\Windows\Data\Binding.cs (2)
685internal override BindingExpressionBase CreateBindingExpressionOverride(DependencyObject target, DependencyProperty dp, BindingExpressionBase owner)
src\Framework\System\Windows\Data\BindingBase.cs (23)
234OneWay = BindingExpressionBase.BindingFlags.OneWay, 236TwoWay = BindingExpressionBase.BindingFlags.TwoWay, 238OneWayToSource = BindingExpressionBase.BindingFlags.OneWayToSource, 240OneTime = BindingExpressionBase.BindingFlags.OneTime, 242PropDefault = BindingExpressionBase.BindingFlags.PropDefault, 245NotifyOnTargetUpdated = BindingExpressionBase.BindingFlags.NotifyOnTargetUpdated, 247NotifyOnSourceUpdated = BindingExpressionBase.BindingFlags.NotifyOnSourceUpdated, 249NotifyOnValidationError = BindingExpressionBase.BindingFlags.NotifyOnValidationError, 252UpdateDefault = BindingExpressionBase.BindingFlags.UpdateDefault, 254UpdateOnPropertyChanged = BindingExpressionBase.BindingFlags.UpdateOnPropertyChanged, 256UpdateOnLostFocus = BindingExpressionBase.BindingFlags.UpdateOnLostFocus, 258UpdateExplicitly = BindingExpressionBase.BindingFlags.UpdateExplicitly, 264PathGeneratedInternally = BindingExpressionBase.BindingFlags.PathGeneratedInternally, 266ValidatesOnExceptions = BindingExpressionBase.BindingFlags.ValidatesOnExceptions, 267ValidatesOnDataErrors = BindingExpressionBase.BindingFlags.ValidatesOnDataErrors, 268ValidatesOnNotifyDataErrors = BindingExpressionBase.BindingFlags.ValidatesOnNotifyDataErrors, 277Default = BindingExpressionBase.BindingFlags.Default | ValidatesOnNotifyDataErrors, 280IllegalInput = BindingExpressionBase.BindingFlags.IllegalInput, 297internal abstract BindingExpressionBase CreateBindingExpressionOverride(DependencyObject targetObject, DependencyProperty targetProperty, BindingExpressionBase owner); 408internal BindingExpressionBase CreateBindingExpression(DependencyObject targetObject, DependencyProperty targetProperty) 418internal BindingExpressionBase CreateBindingExpression(DependencyObject targetObject, DependencyProperty targetProperty, BindingExpressionBase owner)
src\Framework\System\Windows\Data\BindingExpression.cs (5)
68private BindingExpression(Binding binding, BindingExpressionBase owner) 269internal override void InvalidateChild(BindingExpressionBase bindingExpression) 277internal override void ChangeSourcesForChild(BindingExpressionBase bindingExpression, WeakDependencySource[] newSources) 285internal override void ReplaceChild(BindingExpressionBase bindingExpression) 407BindingExpressionBase parent)
src\Framework\System\Windows\Data\BindingExpressionBase.cs (26)
134internal BindingExpressionBase(BindingBase binding, BindingExpressionBase parent) : base(ExpressionMode.SupportsUnboundSources) 214BindingExpressionBase root = RootBindingExpression; 522internal static BindingExpressionBase CreateUntargetedBindingExpression(DependencyObject d, BindingBase binding) 809internal BindingExpressionBase ParentBindingExpressionBase 811get { return (BindingExpressionBase)GetValue(Feature.ParentBindingExpressionBase, null); } 856internal BindingExpressionBase RootBindingExpression 860BindingExpressionBase child = this; 861BindingExpressionBase parent = this.ParentBindingExpressionBase; 992internal abstract void InvalidateChild(BindingExpressionBase bindingExpression); 997internal abstract void ChangeSourcesForChild(BindingExpressionBase bindingExpression, WeakDependencySource[] newSources); 1002internal abstract void ReplaceChild(BindingExpressionBase bindingExpression); 1649BindingExpressionBase root = RootBindingExpression; 1662BindingExpressionBase root = RootBindingExpression; 1794BindingExpressionBase root = null; // set to non-null by the next loop 1796for ( BindingExpressionBase bindingExpr = this; 1863BindingExpressionBase root = RootBindingExpression; 1910internal void AdoptProperties(BindingExpressionBase bb) 2034DependencyProperty.RegisterAttached("NoTarget", typeof(object), typeof(BindingExpressionBase), 2444Collection<BindingExpressionBase> bindingExpressions, 2467BindingExpressionBase bindExpr = bindingExpressions[i]; 2573BindingExpressionBase be = this.ParentBindingExpressionBase; 2603BindingExpressionBase be = this.ParentBindingExpressionBase; 2676BindingExpressionBase be = this.ParentBindingExpressionBase; 2729for (BindingExpressionBase ancestor = ParentBindingExpressionBase; 2751BindingExpressionBase beb = ParentBindingExpressionBase; 2859internal static void InitializeTracing(BindingExpressionBase expr, DependencyObject d, DependencyProperty dp)
src\Framework\System\Windows\Data\BindingGroup.cs (46)
106public Collection<BindingExpressionBase> BindingExpressions 227foreach (BindingExpressionBase bb in _bindingExpressions) 315BindingExpressionBase bb; 318( (bb = error.BindingInError as BindingExpressionBase) != null && 696internal void AddToValueTable(BindingExpressionBase bindingExpressionBase) 702internal object GetValue(BindingExpressionBase bindingExpressionBase) 708internal void SetValue(BindingExpressionBase bindingExpressionBase, object value) 714internal void UseSourceValue(BindingExpressionBase bindingExpressionBase) 732internal void AddBindingForProposedValue(BindingExpressionBase dependent, object item, string propertyName) 828dataContextItem != BindingExpressionBase.DisconnectedItem) 949if (e.NewValue == BindingExpressionBase.DisconnectedItem) 1114BindingExpressionBase.GetValidationDelta(itemErrors, errors, out toAdd, out toRemove); 1329BindingExpressionBase bindingExpr; 1334bindingExpr = e.NewItems[0] as BindingExpressionBase; 1338bindingExpr = e.OldItems[0] as BindingExpressionBase; 1344bindingExpr = e.OldItems[0] as BindingExpressionBase; 1346bindingExpr = e.NewItems[0] as BindingExpressionBase; 1363void RemoveBindingExpression(BindingExpressionBase exprBase) 1366BindingExpressionBase root = exprBase.RootBindingExpression; 1371Collection<BindingExpressionBase.ProposedValue> proposedValues; 1377List<BindingExpressionBase> list = _getValueTable.RemoveRootBinding(root); 1380foreach (BindingExpressionBase expr in list) 1410void PreserveProposedValues(Collection<BindingExpressionBase.ProposedValue> proposedValues) 1611public GetValueTableEntry this[BindingExpressionBase bindingExpressionBase] 1629public void EnsureEntry(BindingExpressionBase bindingExpressionBase) 1657public List<BindingExpressionBase> RemoveRootBinding(BindingExpressionBase rootBindingExpression) 1659List<BindingExpressionBase> result = new List<BindingExpressionBase>(); 1663BindingExpressionBase expr = _table[i].BindingExpressionBase; 1692public object GetValue(BindingExpressionBase bindingExpressionBase) 1699public void SetValue(BindingExpressionBase bindingExpressionBase, object value) 1718public void UseSourceValue(BindingExpressionBase rootBindingExpression) 1741public GetValueTableEntry(BindingExpressionBase bindingExpressionBase) 1780public BindingExpressionBase BindingExpressionBase 1805BindingExpressionBase _bindingExpressionBase; 1817public void Add(BindingExpressionBase.ProposedValue proposedValue) 1905Collection<BindingExpressionBase> dependents = _table[i].Dependents; 1910BindingExpressionBase beb = dependents[j]; 1973public Collection<BindingExpressionBase> Dependents { get { return _dependents; } } 1975public void AddDependent(BindingExpressionBase dependent) 1979_dependents = new Collection<BindingExpressionBase>(); 1990Collection<BindingExpressionBase> _dependents; 1994class BindingExpressionCollection : ObservableCollection<BindingExpressionBase> 2000protected override void InsertItem(int index, BindingExpressionBase item) 2014protected override void SetItem(int index, BindingExpressionBase item)
src\Framework\System\Windows\Data\BindingOperations.cs (11)
51get { return BindingExpressionBase.DisconnectedItem; } 73public static BindingExpressionBase SetBinding(DependencyObject target, DependencyProperty dp, BindingBase binding) 83BindingExpressionBase bindExpr = binding.CreateBindingExpression(target, dp); 105BindingExpressionBase b = GetBindingExpressionBase(target, dp); 164public static BindingExpressionBase GetBindingExpressionBase(DependencyObject target, DependencyProperty dp) 173return expr as BindingExpressionBase; 188BindingExpressionBase expr = GetBindingExpressionBase(target, dp); 295return (o is BindingExpressionBase); 404public static ReadOnlyCollection<BindingExpressionBase> GetSourceUpdatingBindings(DependencyObject root) 406List<BindingExpressionBase> list = DataBindEngine.CurrentDataBindEngine.CommitManager.GetBindingsInScope(root); 407return new ReadOnlyCollection<BindingExpressionBase>(list);
src\Framework\System\Windows\Data\CollectionViewSource.cs (1)
954BindingExpressionBase beb = BindingOperations.GetBindingExpressionBase(this, SourceProperty);
src\Framework\System\Windows\Data\MultiBinding.cs (2)
349internal override BindingExpressionBase CreateBindingExpressionOverride(DependencyObject target, DependencyProperty dp, BindingExpressionBase owner)
src\Framework\System\Windows\Data\MultiBindingExpression.cs (20)
50private MultiBindingExpression(MultiBinding binding, BindingExpressionBase owner) 106public ReadOnlyCollection<BindingExpressionBase> BindingExpressions 108get { return new ReadOnlyCollection<BindingExpressionBase>(MutableBindingExpressions); } 170internal 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) 1401foreach (BindingExpressionBase beb in MutableBindingExpressions) 1433Collection<BindingExpressionBase> _list = new Collection<BindingExpressionBase>();
src\Framework\System\Windows\Data\PriorityBinding.cs (2)
110internal override BindingExpressionBase CreateBindingExpressionOverride(DependencyObject target, DependencyProperty dp, BindingExpressionBase owner)
src\Framework\System\Windows\Data\PriorityBindingExpression.cs (32)
45private PriorityBindingExpression(PriorityBinding binding, BindingExpressionBase owner) 60public ReadOnlyCollection<BindingExpressionBase> BindingExpressions 62get { return new ReadOnlyCollection<BindingExpressionBase>(MutableBindingExpressions); } 66public BindingExpressionBase ActiveBindingExpression 90BindingExpressionBase bindExpr = ActiveBindingExpression; 101BindingExpressionBase bindExpr = ActiveBindingExpression; 120BindingExpressionBase bindExpr = ActiveBindingExpression; 153internal static PriorityBindingExpression CreateBindingExpression(DependencyObject d, DependencyProperty dp, PriorityBinding binding, BindingExpressionBase owner) 221BindingExpressionBase b = MutableBindingExpressions[i]; 234internal override void InvalidateChild(BindingExpressionBase bindingExpression) 258BindingExpressionBase bindExpr = ActiveBindingExpression; 288internal override void ChangeSourcesForChild(BindingExpressionBase bindingExpression, WeakDependencySource[] newSources) 302internal override void ReplaceChild(BindingExpressionBase bindingExpression) 329BindingExpressionBase active = ActiveBindingExpression; 338BindingExpressionBase bindExpr = ActiveBindingExpression; 351BindingExpressionBase bindExpr = ActiveBindingExpression; 364BindingExpressionBase bindExpr = ActiveBindingExpression; 379BindingExpressionBase bindExpr = ActiveBindingExpression; 404BindingExpressionBase bindExpr = ActiveBindingExpression; 422BindingExpressionBase bindExpr = ActiveBindingExpression; 434BindingExpressionBase bindExpr = ActiveBindingExpression; 447BindingExpressionBase bindExpr = ActiveBindingExpression; 463BindingExpressionBase bindExpr = ActiveBindingExpression; 476BindingExpressionBase bindExpr = ActiveBindingExpression; 486BindingExpressionBase bindExpr = ActiveBindingExpression; 503private Collection<BindingExpressionBase> MutableBindingExpressions 516BindingExpressionBase AttachBindingExpression(int i, bool replaceExisting) 524BindingExpressionBase bindExpr = binding.CreateBindingExpression(target, TargetProperty, this); 540BindingExpressionBase bindExpr = MutableBindingExpressions[i]; 592BindingExpressionBase bindExpr = MutableBindingExpressions[i]; 619Collection<BindingExpressionBase> _list = new Collection<BindingExpressionBase>();
src\Framework\System\Windows\Documents\TextContainer.cs (2)
329BindingExpressionBase expr = property.Value as BindingExpressionBase;
src\Framework\System\windows\Documents\TextEditorDragDrop.cs (1)
294BindingExpressionBase bindingExpression = BindingOperations.GetBindingExpressionBase(
src\Framework\System\Windows\FrameworkContentElement.cs (2)
1174if (e.NewValue == BindingExpressionBase.DisconnectedItem) 1195public BindingExpressionBase SetBinding(DependencyProperty dp, BindingBase binding)
src\Framework\System\Windows\FrameworkElement.cs (2)
2743if (e.NewValue == BindingExpressionBase.DisconnectedItem) 2765public BindingExpressionBase SetBinding(DependencyProperty dp, BindingBase binding)
src\Framework\System\Windows\FrameworkTemplate.cs (2)
800BindingExpressionBase bindingExpr; 803if ((bindingExpr = expr as BindingExpressionBase) != null)
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
115case 23: t = () => typeof(BindingExpressionBase); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
1890typeof(System.Windows.Data.BindingExpressionBase),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
5567case KnownElements.BindingExpressionBase: t = typeof(System.Windows.Data.BindingExpressionBase); break;
src\Framework\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;