5 types derived from BindingBase
Microsoft.Maui.Controls (5)
AppThemeBinding.cs (1)
9
class AppThemeBinding :
BindingBase
Binding.cs (1)
12
public sealed class Binding :
BindingBase
MultiBinding.cs (1)
12
public sealed class MultiBinding :
BindingBase
TemplateBinding.cs (1)
11
public sealed class TemplateBinding :
BindingBase
TypedBinding.cs (1)
16
public abstract class TypedBindingBase :
BindingBase
103 references to BindingBase
Microsoft.Maui.Controls (82)
AppThemeBinding.cs (1)
44
internal override
BindingBase
Clone()
BindableObject.cs (13)
288
public void SetBinding(BindableProperty targetProperty,
BindingBase
binding)
291
internal void SetBinding(BindableProperty targetProperty,
BindingBase
binding, SetterSpecificity specificity)
314
BindingBase
oldBinding = null;
355
var
binding = bpContext?.Bindings.GetValue();
378
var
binding = bpContext?.Bindings.GetValue();
485
if (value is
BindingBase
binding && !property.ReturnType.IsAssignableFrom(typeof(BindableProperty)))
652
BindingBase
binding = context.Bindings.GetValue();
707
var
binding = kvp.Value;
719
static void BindingContextPropertyBindingChanging(BindableObject bindable,
BindingBase
oldBindingBase,
BindingBase
newBindingBase)
765
var
currentbinding = context.Bindings.GetValue();
766
var
binding = context.Bindings[specificity];
847
public SetterSpecificityList<
BindingBase
> Bindings = new();
BindableObjectExtensions.cs (1)
19
var
binding = ctx.Bindings.GetValue();
BindableProperty.cs (2)
249
internal delegate void BindablePropertyBindingChanging(BindableObject bindable,
BindingBase
oldValue,
BindingBase
newValue);
Binding.cs (1)
161
internal override
BindingBase
Clone()
BindingBase.Create.cs (1)
21
public static
BindingBase
Create<TSource, TProperty>(
BindingBase.cs (3)
134
internal abstract
BindingBase
Clone();
157
Application.Current?.FindMauiContext()?.CreateLogger<
BindingBase
>()?.LogWarning("FormatException");
172
Application.Current?.FindMauiContext()?.CreateLogger<
BindingBase
>()?.LogWarning("FormatException");
BindingBaseExtensions.cs (1)
9
public static BindingMode GetRealizedMode(this
BindingBase
self, BindableProperty property)
BindingExpression.cs (2)
33
internal BindingExpression(
BindingBase
binding, string path)
41
internal
BindingBase
Binding { get; }
Compatibility\iOS\Extensions\UIViewExtensions.cs (2)
55
public static void SetBinding(this UIView view, string propertyName,
BindingBase
bindingBase,
94
public static void SetBinding(this UIView self, BindableProperty targetProperty,
BindingBase
binding)
DataTemplate.cs (4)
41
public IDictionary<BindableProperty,
BindingBase
> Bindings { get; } = new Dictionary<BindableProperty,
BindingBase
>();
53
public void SetBinding(BindableProperty property,
BindingBase
binding)
81
foreach (KeyValuePair<BindableProperty,
BindingBase
> kvp in Bindings)
INativeBindingService.cs (2)
10
bool TrySetBinding(object target, string propertyName,
BindingBase
binding);
11
bool TrySetBinding(object target, BindableProperty property,
BindingBase
binding);
Interactivity\BindingCondition.cs (2)
14
BindingBase
_binding;
24
public
BindingBase
Binding
Interactivity\DataTrigger.cs (1)
20
public
BindingBase
Binding
ListProxy.cs (2)
218
if (
BindingBase
.TryGetSynchronizedCollection(ProxiedEnumerable, out sync))
252
BindingBase
.TryGetSynchronizedCollection(ProxiedEnumerable, out syncContext);
ListView\ListView.cs (7)
89
BindingBase
_groupDisplayBinding;
91
BindingBase
_groupShortNameBinding;
156
public
BindingBase
GroupDisplayBinding
165
BindingBase
oldValue = value;
182
public
BindingBase
GroupShortNameBinding
632
static void OnGroupDisplayBindingChanged(BindableObject bindable,
BindingBase
oldValue,
BindingBase
newValue)
MultiBinding.cs (8)
16
IList<
BindingBase
> _bindings;
46
public IList<
BindingBase
> Bindings
48
get => _bindings ?? (_bindings = new List<
BindingBase
>());
56
internal override
BindingBase
Clone()
58
var bindingsclone = new List<
BindingBase
>(Bindings.Count);
59
foreach (
var
b in Bindings)
159
var
binding = Bindings[i];
204
if (valuearray != null && Converter == null && StringFormat != null &&
BindingBase
.TryFormat(StringFormat, valuearray, out var formatted))
Picker\Picker.cs (5)
201
BindingBase
_itemDisplayBinding;
204
public
BindingBase
ItemDisplayBinding
213
var
oldValue = value;
241
void OnItemDisplayBindingChanged(
BindingBase
oldValue,
BindingBase
newValue)
PlatformBindingHelpers.cs (6)
19
public static void SetBinding<TPlatformView>(TPlatformView target, string targetProperty,
BindingBase
bindingBase, string updateSourceEventName = null) where TPlatformView : class
33
public static void SetBinding<TPlatformView>(TPlatformView target, string targetProperty,
BindingBase
bindingBase, INotifyPropertyChanged propertyChanged) where TPlatformView : class
104
public static void SetBinding<TPlatformView>(TPlatformView target, BindableProperty targetProperty,
BindingBase
binding) where TPlatformView : class
114
proxy.BindingsBackpack.Add(new KeyValuePair<BindableProperty,
BindingBase
>(targetProperty, binding));
191
public IList<KeyValuePair<BindableProperty,
BindingBase
>> BindingsBackpack { get; } = new List<KeyValuePair<BindableProperty,
BindingBase
>>();
Setter.cs (2)
77
if (Value is
BindingBase
binding)
100
if (Value is
BindingBase
binding)
Shell\BaseShellItem.cs (3)
438
BindingBase
automationIdBinding = Binding.Create(static (Element element) => element.AutomationId);
441
BindingBase
imageBinding = null;
442
BindingBase
labelBinding = null;
TemplateBinding.cs (1)
100
internal override
BindingBase
Clone()
TemplatedItemsList.cs (4)
48
BindingBase
_groupDisplayBinding;
51
BindingBase
_groupShortNameBinding;
105
public
BindingBase
GroupDisplayBinding
139
public
BindingBase
GroupShortNameBinding
TypedBinding.cs (3)
211
internal override
BindingBase
Clone()
462
readonly
BindingBase
_binding;
490
public PropertyChangedProxy(Func<TSource, object> partGetter, string propertyName,
BindingBase
binding)
Xaml\Diagnostics\BindingDiagnostics.cs (2)
16
internal static void SendBindingFailure(
BindingBase
binding, string errorCode, string message, params object[] messageArgs)
22
internal static void SendBindingFailure(
BindingBase
binding, object source, BindableObject bo, BindableProperty bp, string errorCode, string message, params object[] messageArgs)
Xaml\Diagnostics\BindingErrorEventArgs.cs (3)
12
internal BindingBaseErrorEventArgs(SourceInfo xamlSourceInfo,
BindingBase
binding, string errorCode, string message, object[] messageArgs)
24
public
BindingBase
Binding { get; }
38
BindingBase
binding,
Microsoft.Maui.Controls.Compatibility (4)
Tizen\Extensions\NativeBindingExtensions.cs (2)
12
public static void SetBinding(this NView view, string propertyName,
BindingBase
binding, string updateSourceEventName = null)
17
public static void SetBinding(this NView view, BindableProperty targetProperty,
BindingBase
binding)
Tizen\NativeBindingService.cs (2)
11
public bool TrySetBinding(object target, string propertyName,
BindingBase
binding)
23
public bool TrySetBinding(object target, BindableProperty property,
BindingBase
binding)
Microsoft.Maui.Controls.Xaml (17)
ApplyPropertiesVisitor.cs (4)
396
if (xpe == null && TrySetBinding(element, property, localName, value, lineInfo, out
var
binding, out xpe))
542
static bool TrySetBinding(object element, BindableProperty property, string localName, object value, IXmlLineInfo lineInfo, out
BindingBase
binding, out Exception exception)
547
binding = value.ConvertTo(typeof(
BindingBase
), pinfoRetriever: null, serviceProvider: null, exception: out exception) as
BindingBase
;
MarkupExtensions\AppThemeBindingExtension.cs (4)
14
public class AppThemeBindingExtension : IMarkupExtension<
BindingBase
>
49
public object ProvideValue(IServiceProvider serviceProvider) => (this as IMarkupExtension<
BindingBase
>).ProvideValue(serviceProvider);
51
BindingBase
IMarkupExtension<
BindingBase
>.ProvideValue(IServiceProvider serviceProvider)
MarkupExtensions\BindingExtension.cs (5)
10
public sealed class BindingExtension : IMarkupExtension<
BindingBase
>
23
BindingBase
IMarkupExtension<
BindingBase
>.ProvideValue(IServiceProvider serviceProvider)
43
BindingBase
CreateBinding()
65
return (this as IMarkupExtension<
BindingBase
>).ProvideValue(serviceProvider);
MarkupExtensions\TemplateBindingExtension.cs (4)
11
public sealed class TemplateBindingExtension : IMarkupExtension<
BindingBase
>
31
BindingBase
IMarkupExtension<
BindingBase
>.ProvideValue(IServiceProvider serviceProvider)
60
return (this as IMarkupExtension<
BindingBase
>).ProvideValue(serviceProvider);