1 instantiation of BindablePropertyContext
Microsoft.Maui.Controls (1)
BindableObject.cs (1)
742 var context = new BindablePropertyContext { Property = property };
32 references to BindablePropertyContext
Microsoft.Maui.Controls (32)
BindableObject.cs (29)
42 readonly Dictionary<BindableProperty, BindablePropertyContext> _properties = new Dictionary<BindableProperty, BindablePropertyContext>(4); 127 BindablePropertyContext bpcontext = GetContext(property); 170 var context = property.DefaultValueCreator != null ? GetOrCreateContext(property) : GetContext(property); 179 Dictionary<BindableProperty, BindablePropertyContext>.Enumerator _propertiesEnumerator; 220 Dictionary<BindableProperty, BindablePropertyContext> properties = _properties; 225 if (properties.TryGetValue(propArray[i], out var context)) 249 var bpcontext = GetContext(targetProperty ?? throw new ArgumentNullException(nameof(targetProperty))); 266 BindablePropertyContext context = GetContext(property ?? throw new ArgumentNullException(nameof(property))); 277 BindablePropertyContext context = GetContext(property ?? throw new ArgumentNullException(nameof(property))); 302 var context = GetOrCreateContext(targetProperty); 348 BindablePropertyContext bpContext = bindable.GetContext(BindingContextProperty); 377 BindablePropertyContext bpContext = GetContext(BindingContextProperty); 422 foreach (var context in _properties.Values) 431 BindablePropertyContext bpcontext = GetContext(targetProperty); 452 BindablePropertyContext context = GetOrCreateContext(property); 575 BindablePropertyContext context = GetOrCreateContext(property); 610 void SetValueActual(BindableProperty property, BindablePropertyContext context, object value, bool currentlyApplying, SetValueFlags attributes, SetterSpecificity specificity, bool silent = false) 686 BindablePropertyContext context = prop[i]; 698 void ApplyBinding(BindablePropertyContext context, bool fromBindingContextChanged) 739 BindablePropertyContext CreateAndAddContext(BindableProperty property) 742 var context = new BindablePropertyContext { Property = property }; 753 internal BindablePropertyContext GetContext(BindableProperty property) => _properties.TryGetValue(property, out var result) ? result : null; 756 BindablePropertyContext GetOrCreateContext(BindableProperty property) => GetContext(property) ?? CreateAndAddContext(property); 758 void RemoveBinding(BindableProperty property, BindablePropertyContext context, SetterSpecificity specificity) 821 BindablePropertyContext bpcontext = GetContext(property); 868 public readonly BindablePropertyContext Context; 874 public SetValueArgs(BindableProperty property, BindablePropertyContext context, object value, bool currentlyApplying, SetValueFlags attributes, SetterSpecificity specificity)
BindableObjectExtensions.cs (1)
16 var ctx = self.GetContext(property);
VisualStateManager.cs (1)
67 var context = visualElement.GetContext(VisualStateGroupsProperty);
Xaml\Diagnostics\BindablePropertyDiagnostics.cs (1)
14 var context = bindable.GetContext(property);