19 types derived from BindableObject
Microsoft.Maui.Controls (18)
ColumnDefinition.cs (1)
7 public sealed class ColumnDefinition : BindableObject, IDefinition, IGridColumnDefinition
Element\Element.cs (1)
49 public abstract partial class Element : BindableObject, IElementDefinition, INameScope, IElementController, IVisualTreeElement, Maui.IElement, IEffectControlProvider, IToolTipElement, IContextFlyoutElement, IControlsElement, IHandlerDisconnectPolicies
Interactivity\Behavior.cs (1)
10 public abstract class Behavior : BindableObject, IAttachedObject
Interactivity\TriggerBase.cs (1)
9 public abstract class TriggerBase : BindableObject, IAttachedObject
Items\ItemsLayout.cs (1)
5 public abstract class ItemsLayout : BindableObject, IItemsLayout
KeyboardAccelerator.cs (1)
6 public class KeyboardAccelerator : BindableObject, IKeyboardAccelerator
PlatformBindingHelpers.cs (1)
187 internal class BindableObjectProxy<TPlatformView> : BindableObject where TPlatformView : class
RowDefinition.cs (1)
7 public sealed class RowDefinition : BindableObject, IDefinition, IGridRowDefinition
Shapes\Geometry.cs (1)
7 public abstract class Geometry : BindableObject, IGeometry
Shapes\PathFigure.cs (1)
11 public sealed class PathFigure : BindableObject, IAnimatable
Shapes\PathSegment.cs (1)
4 public abstract class PathSegment : BindableObject, IAnimatable
Shapes\Transform.cs (1)
6 public class Transform : BindableObject
Shell\BackButtonBehavior.cs (1)
8 public class BackButtonBehavior : BindableObject
Shell\SearchHandler.cs (1)
14 public class SearchHandler : BindableObject, ISearchHandlerController, IPlaceholderElement, IFontElement, ITextElement, ITextAlignmentElement
StateTriggerBase.cs (1)
7 public abstract class StateTriggerBase : BindableObject
TableView\TableSectionBase.cs (1)
8 public abstract class TableSectionBase : BindableObject
TemplatedItemsList.cs (1)
19 public sealed class TemplatedItemsList<TView, [DynamicallyAccessedMembers(BindableProperty.DeclaringTypeMembers | BindableProperty.ReturnTypeMembers)] TItem> : BindableObject, ITemplatedItemsList<TItem>, IList, IDisposable
WebView\WebViewSource.cs (1)
10 public abstract class WebViewSource : BindableObject, IWebViewSource
Microsoft.Maui.Controls.Compatibility (1)
Tizen\Platform.cs (1)
130 public class DefaultPlatform : BindableObject, ITizenPlatform, INavigation
933 references to BindableObject
Microsoft.Maui.Controls (904)
AdaptiveTrigger.cs (1)
41 static void OnMinWindowDimensionChanged(BindableObject bindable, object oldvalue, object newvalue) =>
AnimationExtensions.cs (1)
379 if (self is BindableObject element)
AppThemeBinding.cs (7)
39 WeakReference<BindableObject> _weakTarget; 67 internal override void Apply(object context, BindableObject bindObj, BindableProperty targetProperty, bool fromBindingContextChanged, SetterSpecificity specificity) 69 _weakTarget = new WeakReference<BindableObject>(bindObj); 93 if (_weakTarget == null || !_weakTarget.TryGetTarget(out var target)) 115 target.SetValueCore(_targetProperty, value, Internals.SetValueFlags.ClearDynamicResource, BindableObject.SetValuePrivateFlags.Default | BindableObject.SetValuePrivateFlags.Converted, specificity); 156 if (_weakTarget?.TryGetTarget(out var target) == true &&
AutomationProperties.cs (10)
28 public static string GetHelpText(BindableObject bindable) 36 public static bool? GetIsInAccessibleTree(BindableObject bindable) 41 public static bool? GetExcludedWithChildren(BindableObject bindable) 48 public static VisualElement GetLabeledBy(BindableObject bindable) 56 public static string GetName(BindableObject bindable) 64 public static void SetHelpText(BindableObject bindable, string value) 72 public static void SetIsInAccessibleTree(BindableObject bindable, bool? value) 77 public static void SetExcludedWithChildren(BindableObject bindable, bool? value) 83 public static void SetLabeledBy(BindableObject bindable, VisualElement value) 91 public static void SetName(BindableObject bindable, string value)
BindableLayout\BindableLayout.cs (22)
49 public static void SetItemsSource(BindableObject b, IEnumerable value) 55 public static IEnumerable GetItemsSource(BindableObject b) 61 public static void SetItemTemplate(BindableObject b, DataTemplate value) 67 public static DataTemplate GetItemTemplate(BindableObject b) 73 public static void SetItemTemplateSelector(BindableObject b, DataTemplateSelector value) 79 public static DataTemplateSelector GetItemTemplateSelector(BindableObject b) 85 public static object GetEmptyView(BindableObject b) 91 public static void SetEmptyView(BindableObject b, object value) 97 public static DataTemplate GetEmptyViewTemplate(BindableObject b) 103 public static void SetEmptyViewTemplate(BindableObject b, DataTemplate value) 108 internal static BindableLayoutController GetBindableLayoutController(BindableObject b) 113 static void SetBindableLayoutController(BindableObject b, BindableLayoutController value) 118 static void OnControllerChanged(BindableObject b, BindableLayoutController oldC, BindableLayoutController newC) 219 static DataTemplate GetBindableLayoutTemplate(BindableObject b) 227 static void SetBindableLayoutTemplate(BindableObject b, DataTemplate value) 397 var child = (BindableObject)layoutChildren[childrenCount]!; 431 maybeEmptyView.ClearValue(BindableObject.BindingContextProperty); 462 child.ClearValue(BindableObject.BindingContextProperty); 468 return _itemTemplate ?? _itemTemplateSelector?.SelectTemplate(item, layout as BindableObject) ?? DefaultItemTemplate; 543 var child = (BindableObject)layoutChildren[index]!;
BindableObject.cs (16)
18 /// <remarks>The <see cref="BindableObject" /> class provides a data storage mechanism that enables the application developer to synchronize data between objects in response to changes, for example, between the View and View Model in the MVVM design pattern. All of the visual elements in the <c>Microsoft.Maui.Controls</c> namespace inherit from <see cref="BindableObject" /> class, so they can all be used to bind the data behind their user interface.</remarks> 32 /// Initializes a new instance of the <see cref="BindableObject"/> class. 48 BindableProperty.Create(nameof(BindingContext), typeof(object), typeof(BindableObject), default(object), 52 /// Gets or sets an object that contains the properties that will be targeted by the bound properties that belong to this <see cref="BindableObject" />. 89 Application.Current?.FindMauiContext()?.CreateLogger<BindableObject>()?.LogWarning($"Cannot set the BindableProperty \"{property.PropertyName}\" because it is readonly."); 103 Application.Current?.FindMauiContext()?.CreateLogger<BindableObject>()?.LogWarning($"Cannot set the BindableProperty \"{property.PropertyName}\" because it is readonly."); 180 internal LocalValueEnumerator(BindableObject bindableObject) => _propertiesEnumerator = bindableObject._properties.GetEnumerator(); 298 Application.Current?.FindMauiContext()?.CreateLogger<BindableObject>()?.LogWarning($"Cannot set the a OneWay Binding \"{targetProperty.PropertyName}\" because it is readonly."); 345 public static void SetInheritedBindingContext(BindableObject bindable, object value) 493 Application.Current?.FindMauiContext()?.CreateLogger<BindableObject>()?.LogWarning($"Cannot set the BindableProperty \"{property.PropertyName}\" because it is readonly."); 521 Application.Current?.FindMauiContext()?.CreateLogger<BindableObject>()?.LogWarning($"Cannot set the BindableProperty \"{property.PropertyName}\" because it is readonly."); 562 Application.Current?.FindMauiContext()?.CreateLogger<BindableObject>()?.LogWarning($"Cannot convert {value} to type '{property.ReturnType}'"); 568 Application.Current?.FindMauiContext()?.CreateLogger<BindableObject>()?.LogWarning($"Value is an invalid value for {property.PropertyName}"); 719 static void BindingContextPropertyBindingChanging(BindableObject bindable, BindingBase oldBindingBase, BindingBase newBindingBase) 731 static void BindingContextPropertyChanged(BindableObject bindable, object oldvalue, object newvalue)
BindableObjectExtensions.cs (16)
14 internal static void RefreshPropertyValue(this BindableObject self, BindableProperty property, object value) 22 if (!ctx.Attributes.HasFlag(BindableObject.BindableContextAttributes.IsBeingSet)) 32 internal static void PropagateBindingContext<T>(this BindableObject self, IEnumerable<T> children) 33 => PropagateBindingContext(self, children, BindableObject.SetInheritedBindingContext); 35 internal static void PropagateBindingContext<T>(this BindableObject self, IEnumerable<T> children, Action<BindableObject, object> setChildBindingContext) 44 var bo = child as BindableObject; 54 public static void SetBinding(this BindableObject self, BindableProperty targetProperty, string path, BindingMode mode = BindingMode.Default, IValueConverter converter = null, 130 this BindableObject self, 150 public static T GetPropertyIfSet<T>(this BindableObject bindableObject, BindableProperty bindableProperty, T returnIfNotSet) 162 this BindableObject bindableObject, 176 internal static void AddRemoveLogicalChildren(this BindableObject bindable, object oldValue, object newValue) 189 this BindableObject self, 212 public static void SetAppTheme<T>(this BindableObject self, BindableProperty targetProperty, T light, T dark) => self.SetBinding(targetProperty, new AppThemeBinding { Light = light, Dark = dark }); 215 public static void SetAppThemeColor(this BindableObject self, BindableProperty targetProperty, Color light, Color dark)
BindableProperty.cs (11)
23 public delegate void BindingPropertyChangedDelegate(BindableObject bindable, object oldValue, object newValue); 25 public delegate void BindingPropertyChangedDelegate<in TPropertyType>(BindableObject bindable, TPropertyType oldValue, TPropertyType newValue); 27 public delegate void BindingPropertyChangingDelegate(BindableObject bindable, object oldValue, object newValue); 29 public delegate void BindingPropertyChangingDelegate<in TPropertyType>(BindableObject bindable, TPropertyType oldValue, TPropertyType newValue); 31 public delegate object CoerceValueDelegate(BindableObject bindable, object value); 33 public delegate TPropertyType CoerceValueDelegate<TPropertyType>(BindableObject bindable, TPropertyType value); 35 public delegate object CreateDefaultValueDelegate(BindableObject bindable); 39 public delegate bool ValidateValueDelegate(BindableObject bindable, object value); 41 public delegate bool ValidateValueDelegate<in TPropertyType>(BindableObject bindable, TPropertyType value); 200 internal object GetDefaultValue(BindableObject bindable) 249 internal delegate void BindablePropertyBindingChanging(BindableObject bindable, BindingBase oldValue, BindingBase newValue);
Binding.cs (2)
121 internal override void Apply(object context, BindableObject bindObj, BindableProperty targetProperty, bool fromBindingContextChanged, SetterSpecificity specificity) 155 async void ApplyRelativeSourceBinding(RelativeBindingSource relativeSource, Element relativeSourceTarget, BindableObject targetObject, BindableProperty targetProperty, SetterSpecificity specificity)
BindingBase.cs (1)
131 internal virtual void Apply(object context, BindableObject bindObj, BindableProperty targetProperty, bool fromBindingContextChanged, SetterSpecificity specificity)
BindingExpression.cs (14)
28 WeakReference<BindableObject> _weakTarget; 53 if (!_weakTarget.TryGetTarget(out BindableObject target)) 66 internal void Apply(object sourceObject, BindableObject target, BindableProperty property, SetterSpecificity specificity) 85 if (_weakTarget != null && _weakTarget.TryGetTarget(out BindableObject prevTarget) && !ReferenceEquals(prevTarget, target)) 92 _weakTarget = new WeakReference<BindableObject>(target); 121 void ApplyCore(object sourceObject, BindableObject target, BindableProperty property, bool fromTarget, SetterSpecificity specificity) 179 target.SetValueCore(property, value, SetValueFlags.ClearDynamicResource, BindableObject.SetValuePrivateFlags.Default | BindableObject.SetValuePrivateFlags.Converted, specificity); 511 BindableObject target = null; 535 BindableObject target = null; 594 if (source is BindableObject bo) 604 if (source is BindableObject bo) 620 OnPropertyChanged(sender, new PropertyChangedEventArgs(nameof(BindableObject.BindingContext))); 711 if (_expression._weakTarget is not null && _expression._weakTarget.TryGetTarget(out BindableObject obj))
Border\Border.cs (2)
275 public static void ContentChanged(BindableObject bindable, object oldValue, object newValue) 293 public static void StrokeThicknessChanged(BindableObject bindable, object oldValue, object newValue)
BorderElement.cs (1)
22 static void OnBorderColorPropertyChanged(BindableObject bindable, object oldValue, object newValue)
Cells\Cell.cs (1)
281 static void OnIsEnabledPropertyChanged(BindableObject bindable, object oldvalue, object newvalue)
CommandElement.cs (3)
10 public static void OnCommandChanging(BindableObject bo, object o, object n) 17 public static void OnCommandChanged(BindableObject bo, object o, object n) 25 public static void OnCommandParameterChanged(BindableObject bo, object o, object n)
CompareStateTrigger.cs (2)
28 static void OnPropertyChanged(BindableObject bindable, object oldvalue, object newvalue) 45 static void OnValueChanged(BindableObject bindable, object oldvalue, object newvalue)
Compatibility\Handlers\ListView\iOS\CellRenderer.cs (4)
147 internal static UITableViewCell GetRealCell(BindableObject cell) 152 internal static void SetRealCell(BindableObject cell, UITableViewCell renderer) 161 if (VirtualView is BindableObject bindableObject && 175 VirtualView is BindableObject bindableObject &&
CompressedLayout.cs (5)
17 public static bool GetIsHeadless(BindableObject bindable) 21 public static void SetIsHeadless(BindableObject bindable, bool value) 24 static void OnIsHeadlessPropertyChanged(BindableObject bindable, object oldValue, object newValue) 42 public static Point GetHeadlessOffset(BindableObject bindable) 45 internal static void SetHeadlessOffset(BindableObject bindable, Point value)
ContentConverter.cs (3)
67 static void BindTextProperties(BindableObject content) 86 static void BindFontProperties(BindableObject content) 105 static bool ShouldSetBinding(BindableObject content, BindableProperty property)
ContentPresenter.cs (1)
92 static async void OnContentChanged(BindableObject bindable, object oldValue, object newValue)
DataTemplate.cs (4)
77 var bindable = item as BindableObject; 95 var bindable = item as BindableObject;
DataTemplateExtensions.cs (2)
11 public static DataTemplate SelectDataTemplate(this DataTemplate self, object item, BindableObject container) 21 public static object CreateContent(this DataTemplate self, object item, BindableObject container)
DataTemplateSelector.cs (2)
13 public DataTemplate SelectTemplate(object item, BindableObject container) 42 protected abstract DataTemplate OnSelectTemplate(object item, BindableObject container);
DatePicker\DatePicker.cs (6)
161 static object CoerceDate(BindableObject bindable, object value) 175 static object CoerceMaximumDate(BindableObject bindable, object value) 185 static object CoerceMinimumDate(BindableObject bindable, object value) 195 static void DatePropertyChanged(BindableObject bindable, object oldValue, object newValue) 204 static bool ValidateMaximumDate(BindableObject bindable, object value) 209 static bool ValidateMinimumDate(BindableObject bindable, object value)
DeviceStateTrigger.cs (1)
26 static void OnDeviceChanged(BindableObject bindable, object oldvalue, object newvalue)
DispatcherExtensions.cs (1)
11 public static IDispatcher FindDispatcher(this BindableObject? bindableObject)
Element\Element.cs (5)
59 IList<BindableObject> _bindableResources; 581 foreach (BindableObject item in _bindableResources) 758 _bindableResources = new List<BindableObject>(); 778 var bindableObject = value.Value as BindableObject;
Element\Element_StyleSheets.cs (2)
31 while (t != typeof(BindableObject)) 66 if (element is BindableObject bo)
FlyoutPage\FlyoutPage.cs (4)
276 static void OnIsPresentedPropertyChanged(BindableObject sender, object oldValue, object newValue) 279 static void OnIsPresentedPropertyChanging(BindableObject sender, object oldValue, object newValue) 295 static void OnFlyoutLayoutBehaviorPropertyChanged(BindableObject sender, object oldValue, object newValue) 301 static object GetDefaultValue(BindableObject bindable)
FontElement.cs (5)
37 static void OnFontFamilyChanged(BindableObject bindable, object oldValue, object newValue) 40 static void OnFontSizeChanged(BindableObject bindable, object oldValue, object newValue) 43 static object FontSizeDefaultValueCreator(BindableObject bindable) 46 static void OnFontAttributesChanged(BindableObject bindable, object oldValue, object newValue) 49 static void OnFontAutoScalingEnabledChanged(BindableObject bindable, object oldValue, object newValue)
GradientBrush.cs (1)
35 static void OnGradientStopsChanged(BindableObject bindable, object oldValue, object newValue)
Handlers\HandlerProperties.cs (2)
13 public static void SetDisconnectPolicy(BindableObject target, HandlerDisconnectPolicy value) 18 public static HandlerDisconnectPolicy GetDisconnectPolicy(BindableObject target)
Handlers\Items2\iOS\TemplatedCell2.cs (1)
146 view.SetValueFromRenderer(BindableObject.BindingContextProperty, bindingContext);
IItemsView.cs (1)
7 public interface IItemsView<T> where T : BindableObject
ImageElement.cs (5)
26 static void OnImageSourceChanged(BindableObject bindable, object oldValue, object newValue) 35 static void OnImageSourceChanging(BindableObject bindable, object oldValue, object newValue) 105 BindableObject.SetInheritedBindingContext(image.Source, visualElement?.BindingContext); 139 static void ImageSourceChanged(BindableObject bindable, ImageSource newSource) 156 internal static bool GetLoadAsAnimation(BindableObject bindable)
Interactivity\AttachedCollection.cs (11)
8 internal class AttachedCollection<T> : ObservableCollection<T>, ICollection<T>, IAttachedObject where T : BindableObject, IAttachedObject 10 readonly WeakList<BindableObject> _associatedObjects = new(); 24 public void AttachTo(BindableObject bindable) 31 public void DetachFrom(BindableObject bindable) 38 foreach (var bindable in _associatedObjects) 51 foreach (var bindable in _associatedObjects) 57 protected virtual void OnAttachedTo(BindableObject bindable) 67 protected virtual void OnDetachingFrom(BindableObject bindable) 80 foreach (var bindable in _associatedObjects) 91 foreach (var bindable in _associatedObjects) 98 foreach (var bindable in _associatedObjects)
Interactivity\Behavior.cs (9)
15 protected Behavior() : this(typeof(BindableObject)) 26 void IAttachedObject.AttachTo(BindableObject bindable) 35 void IAttachedObject.DetachFrom(BindableObject bindable) => OnDetachingFrom(bindable); 41 protected virtual void OnAttachedTo(BindableObject bindable) 47 /// that were implemented in a previous call to the <see cref="OnAttachedTo(BindableObject)"/> method. 50 protected virtual void OnDetachingFrom(BindableObject bindable) 57 public abstract class Behavior<T> : Behavior where T : BindableObject 65 protected override void OnAttachedTo(BindableObject bindable) 80 protected override void OnDetachingFrom(BindableObject bindable)
Interactivity\BindingCondition.cs (4)
57 internal override bool GetState(BindableObject bindable) 63 internal override void SetUp(BindableObject bindable) 69 internal override void TearDown(BindableObject bindable) 91 void OnBoundPropertyChanged(BindableObject bindable, object oldValue, object newValue)
Interactivity\Condition.cs (5)
9 Action<BindableObject, bool, bool> _conditionChanged; 17 internal Action<BindableObject, bool, bool> ConditionChanged 44 internal abstract bool GetState(BindableObject bindable); 50 internal abstract void SetUp(BindableObject bindable); 51 internal abstract void TearDown(BindableObject bindable);
Interactivity\EventTrigger.cs (11)
16 readonly List<WeakReference<BindableObject>> _associatedObjects = new List<WeakReference<BindableObject>>(); 24 public EventTrigger() : base(typeof(BindableObject)) 48 internal override void OnAttachedTo(BindableObject bindable) 53 _associatedObjects.Add(new WeakReference<BindableObject>(bindable)); 56 internal override void OnDetachingFrom(BindableObject bindable) 60 if (wr.TryGetTarget(out var target) && target == bindable) 76 void AttachHandlerTo(BindableObject bindable) 91 void DetachHandlerFrom(BindableObject bindable) 99 var bindable = (BindableObject)sender;
Interactivity\IAttachedObject.cs (2)
6 void AttachTo(BindableObject bindable); 7 void DetachFrom(BindableObject bindable);
Interactivity\MultiCondition.cs (5)
18 internal override bool GetState(BindableObject bindable) 30 internal override void SetUp(BindableObject bindable) 36 internal override void TearDown(BindableObject bindable) 42 void OnAggregatedStatePropertyChanged(BindableObject bindable, object oldValue, object newValue) 50 void OnConditionChanged(BindableObject bindable, bool oldValue, bool newValue)
Interactivity\PlatformBehavior.cs (2)
31 protected sealed override void OnAttachedTo(BindableObject bindable) 37 protected sealed override void OnDetachingFrom(BindableObject bindable)
Interactivity\PropertyCondition.cs (6)
93 internal override bool GetState(BindableObject bindable) 100 internal override void SetUp(BindableObject bindable) 108 internal override void TearDown(BindableObject bindable) 116 var bindable = (BindableObject)sender; 129 void OnStatePropertyChanged(BindableObject bindable, object oldValue, object newValue)
Interactivity\TriggerAction.cs (1)
26 public abstract class TriggerAction<T> : TriggerAction where T : BindableObject
Interactivity\TriggerBase.cs (5)
57 void IAttachedObject.AttachTo(BindableObject bindable) 68 void IAttachedObject.DetachFrom(BindableObject bindable) 75 internal virtual void OnAttachedTo(BindableObject bindable) 88 internal virtual void OnDetachingFrom(BindableObject bindable) 107 void OnConditionChanged(BindableObject bindable, bool oldValue, bool newValue)
Internals\CellExtensions.cs (10)
14 public static bool GetIsGroupHeader<TView, [DynamicallyAccessedMembers(ItemTypeMembers)] TItem>(this TItem cell) where TView : BindableObject, ITemplatedItemsView<TItem> where TItem : BindableObject 19 public static void SetIsGroupHeader<TView, [DynamicallyAccessedMembers(ItemTypeMembers)] TItem>(this TItem cell, bool value) where TView : BindableObject, ITemplatedItemsView<TItem> where TItem : BindableObject 24 public static TItem GetGroupHeaderContent<TView, [DynamicallyAccessedMembers(ItemTypeMembers)] TItem>(this TItem cell) where TView : BindableObject, ITemplatedItemsView<TItem> where TItem : BindableObject 30 public static int GetIndex<TView, [DynamicallyAccessedMembers(ItemTypeMembers)] TItem>(this TItem cell) where TView : BindableObject, ITemplatedItemsView<TItem> where TItem : BindableObject 35 public static ITemplatedItemsList<TItem> GetGroup<TView, [DynamicallyAccessedMembers(ItemTypeMembers)] TItem>(this TItem cell) where TView : BindableObject, ITemplatedItemsView<TItem> where TItem : BindableObject
Internals\NameScope.cs (2)
38 public static INameScope GetNameScope(BindableObject bindable) => (INameScope)bindable.GetValue(NameScopeProperty); 41 public static void SetNameScope(BindableObject bindable, INameScope value)
IStyle.cs (2)
10 void Apply(BindableObject bindable, SetterSpecificity specificity); 11 void UnApply(BindableObject bindable);
ITemplatedItemsList.cs (1)
11 public interface ITemplatedItemsList<TItem> : IReadOnlyList<TItem>, INotifyCollectionChanged where TItem : BindableObject
ITemplatedItemsView.cs (1)
6 public interface ITemplatedItemsView<TItem> : IItemsView<TItem> where TItem : BindableObject
Items\CarouselView.cs (2)
129 static void CurrentItemPropertyChanged(BindableObject bindable, object oldValue, object newValue) 241 static void PositionPropertyChanged(BindableObject bindable, object oldValue, object newValue)
Items\ItemsView.cs (4)
115 static void OnInternalItemsLayoutPropertyChanged(BindableObject bindable, object oldValue, object newValue) 117 if (oldValue is BindableObject boOld) 120 if (newValue is BindableObject boNew) 225 if (InternalItemsLayout is BindableObject bo)
Items\SelectableItemsView.cs (5)
111 static object CoerceSelectedItems(BindableObject bindable, object value) 126 static object DefaultValueCreator(BindableObject bindable) 131 static void SelectedItemsPropertyChanged(BindableObject bindable, object oldValue, object newValue) 170 static void SelectedItemPropertyChanged(BindableObject bindable, object oldValue, object newValue) 179 static void SelectionModePropertyChanged(BindableObject bindable, object oldValue, object newValue)
ItemsView.cs (2)
11 public abstract class ItemsView<[DynamicallyAccessedMembers(BindableProperty.DeclaringTypeMembers | BindableProperty.ReturnTypeMembers)] TVisual> : View, ITemplatedItemsView<TVisual> where TVisual : BindableObject 79 static void OnItemsSourceChanged(BindableObject bindable, object oldValue, object newValue)
Label\Label.cs (1)
359 static void OnTextPropertyChanged(BindableObject bindable, object oldvalue, object newvalue)
Layout\AbsoluteLayout.cs (12)
32 static void LayoutBoundsPropertyChanged(BindableObject bindable, object oldValue, object newValue) 41 public static AbsoluteLayoutFlags GetLayoutFlags(BindableObject bindable) 48 public static Rect GetLayoutBounds(BindableObject bindable) 54 public static void SetLayoutFlags(BindableObject bindable, AbsoluteLayoutFlags flags) 60 public static void SetLayoutBounds(BindableObject bindable, Rect bounds) 71 BindableObject bo => (AbsoluteLayoutFlags)bo.GetValue(LayoutFlagsProperty), 80 BindableObject bo => (Rect)bo.GetValue(LayoutBoundsProperty), 89 case BindableObject bo: 102 case BindableObject bo: 113 if (view is not BindableObject) 135 if (view is not BindableObject) 147 if (view is not BindableObject)
Layout\FlexLayout.cs (40)
116 public static int GetOrder(BindableObject bindable) 120 public static void SetOrder(BindableObject bindable, int value) 124 public static float GetGrow(BindableObject bindable) 128 public static void SetGrow(BindableObject bindable, float value) 132 public static float GetShrink(BindableObject bindable) 136 public static void SetShrink(BindableObject bindable, float value) 140 public static FlexAlignSelf GetAlignSelf(BindableObject bindable) 144 public static void SetAlignSelf(BindableObject bindable, FlexAlignSelf value) 148 public static FlexBasis GetBasis(BindableObject bindable) 152 public static void SetBasis(BindableObject bindable, FlexBasis value) 159 static Flex.Item GetFlexItem(BindableObject bindable) 162 static void OnOrderPropertyChanged(BindableObject bindable, object oldValue, object newValue) 170 static void OnGrowPropertyChanged(BindableObject bindable, object oldValue, object newValue) 178 static void OnShrinkPropertyChanged(BindableObject bindable, object oldValue, object newValue) 186 static void OnAlignSelfPropertyChanged(BindableObject bindable, object oldValue, object newValue) 194 static void OnBasisPropertyChanged(BindableObject bindable, object oldValue, object newValue) 202 static void OnDirectionPropertyChanged(BindableObject bindable, object oldValue, object newValue) 211 static void OnJustifyContentPropertyChanged(BindableObject bindable, object oldValue, object newValue) 220 static void OnAlignContentPropertyChanged(BindableObject bindable, object oldValue, object newValue) 229 static void OnAlignItemsPropertyChanged(BindableObject bindable, object oldValue, object newValue) 238 static void OnPositionPropertyChanged(BindableObject bindable, object oldValue, object newValue) 247 static void OnWrapPropertyChanged(BindableObject bindable, object oldValue, object newValue) 272 BindableObject bo => (int)bo.GetValue(OrderProperty), 281 case BindableObject bo: 294 BindableObject bo => (float)bo.GetValue(GrowProperty), 303 case BindableObject bo: 316 BindableObject bo => (float)bo.GetValue(ShrinkProperty), 325 case BindableObject bo: 338 BindableObject bo => (FlexAlignSelf)bo.GetValue(AlignSelfProperty), 347 case BindableObject bo: 360 BindableObject bo => (FlexBasis)bo.GetValue(BasisProperty), 369 case BindableObject bo: 382 BindableObject bo => (Flex.Item)bo.GetValue(FlexItemProperty), 391 case BindableObject bo: 404 BindableObject bo => (Thickness)bo.GetValue(MarginProperty), 413 BindableObject bo => (double)bo.GetValue(WidthRequestProperty), 422 BindableObject bo => (double)bo.GetValue(HeightRequestProperty), 431 BindableObject bo => (bool)bo.GetValue(IsVisibleProperty), 487 if (child is not BindableObject) 545 case BindableObject bo:
Layout\Grid.cs (21)
65 public static int GetColumn(BindableObject bindable) 71 public static int GetColumnSpan(BindableObject bindable) 77 public static int GetRow(BindableObject bindable) 83 public static int GetRowSpan(BindableObject bindable) 89 public static void SetColumn(BindableObject bindable, int value) 95 public static void SetColumnSpan(BindableObject bindable, int value) 101 public static void SetRow(BindableObject bindable, int value) 107 public static void SetRowSpan(BindableObject bindable, int value) 153 BindableObject bo => (int)bo.GetValue(ColumnProperty), 162 BindableObject bo => (int)bo.GetValue(ColumnSpanProperty), 171 BindableObject bo => (int)bo.GetValue(RowProperty), 180 BindableObject bo => (int)bo.GetValue(RowSpanProperty), 199 case BindableObject bo: 213 case BindableObject bo: 227 case BindableObject bo: 241 case BindableObject bo: 253 if (view is not BindableObject) 275 if (view is not BindableObject) 287 if (view is not BindableObject) 297 static void UpdateSizeChangedHandlers(BindableObject bindable, object oldValue, object newValue) 322 static void Invalidate(BindableObject bindable, object oldValue, object newValue)
Layout\Layout.cs (2)
99 static void IsClippedToBoundsPropertyChanged(BindableObject bindableObject, object oldValue, object newValue) 377 static void OnCascadeInputTransparentPropertyChanged(BindableObject bindable, object oldValue, object newValue)
Layout\StackLayout.cs (1)
29 static void OrientationChanged(BindableObject bindable, object oldValue, object newValue)
LegacyLayouts\AbsoluteLayout.cs (4)
48 public static Rect GetLayoutBounds(BindableObject bindable) 53 public static AbsoluteLayoutFlags GetLayoutFlags(BindableObject bindable) 58 public static void SetLayoutBounds(BindableObject bindable, Rect bounds) 63 public static void SetLayoutFlags(BindableObject bindable, AbsoluteLayoutFlags flags)
LegacyLayouts\FlexLayout.cs (27)
114 static Flex.Item GetFlexItem(BindableObject bindable) 117 static void SetFlexItem(BindableObject bindable, Flex.Item node) 120 public static int GetOrder(BindableObject bindable) 123 public static void SetOrder(BindableObject bindable, int value) 126 public static float GetGrow(BindableObject bindable) 129 public static void SetGrow(BindableObject bindable, float value) 132 public static float GetShrink(BindableObject bindable) 135 public static void SetShrink(BindableObject bindable, float value) 138 public static FlexAlignSelf GetAlignSelf(BindableObject bindable) 141 public static void SetAlignSelf(BindableObject bindable, FlexAlignSelf value) 144 public static FlexBasis GetBasis(BindableObject bindable) 147 public static void SetBasis(BindableObject bindable, FlexBasis value) 150 static void OnOrderPropertyChanged(BindableObject bindable, object oldValue, object newValue) 158 static void OnGrowPropertyChanged(BindableObject bindable, object oldValue, object newValue) 166 static void OnShrinkPropertyChanged(BindableObject bindable, object oldValue, object newValue) 174 static void OnAlignSelfPropertyChanged(BindableObject bindable, object oldValue, object newValue) 182 static void OnBasisPropertyChanged(BindableObject bindable, object oldValue, object newValue) 190 static void OnDirectionPropertyChanged(BindableObject bindable, object oldValue, object newValue) 199 static void OnJustifyContentPropertyChanged(BindableObject bindable, object oldValue, object newValue) 208 static void OnAlignContentPropertyChanged(BindableObject bindable, object oldValue, object newValue) 217 static void OnAlignItemsPropertyChanged(BindableObject bindable, object oldValue, object newValue) 226 static void OnPositionPropertyChanged(BindableObject bindable, object oldValue, object newValue) 235 static void OnWrapPropertyChanged(BindableObject bindable, object oldValue, object newValue) 365 var item = (sender as FlexLayout)?._root ?? GetFlexItem((BindableObject)sender); 376 var item = (sender as FlexLayout)?._root ?? GetFlexItem((BindableObject)sender); 390 var item = (sender as FlexLayout)?._root ?? GetFlexItem((BindableObject)sender); 404 var item = (sender as FlexLayout)?._root ?? GetFlexItem((BindableObject)sender);
LegacyLayouts\Grid.cs (12)
116 public static int GetColumn(BindableObject bindable) 121 public static int GetColumnSpan(BindableObject bindable) 126 public static int GetRow(BindableObject bindable) 131 public static int GetRowSpan(BindableObject bindable) 136 public static void SetColumn(BindableObject bindable, int value) 141 public static void SetColumnSpan(BindableObject bindable, int value) 146 public static void SetRow(BindableObject bindable, int value) 151 public static void SetRowSpan(BindableObject bindable, int value) 401 if (view is BindableObject bo) 411 if (view is BindableObject bo) 421 if (view is BindableObject bo) 431 if (view is BindableObject bo)
LegacyLayouts\GridCalc.cs (8)
788 static bool IsInColumn(BindableObject child, int column) 795 static bool IsInRow(BindableObject child, int row) 802 int NumberOfUnsetColumnWidth(BindableObject child) 813 int NumberOfUnsetRowHeight(BindableObject child) 824 double GetAssignedColumnWidth(BindableObject child) 835 double GetAssignedRowHeight(BindableObject child) 846 ColumnDefinition GetLastAutoColumn(BindableObject child) 856 RowDefinition GetLastAutoRow(BindableObject child)
LegacyLayouts\Layout.cs (2)
163 static void IsClippedToBoundsPropertyChanged(BindableObject bindableObject, object oldValue, object newValue) 749 static void OnCascadeInputTransparentPropertyChanged(BindableObject bindable, object oldValue, object newValue)
LegacyLayouts\RelativeLayout.cs (11)
100 static void ConstraintChanged(BindableObject bindable, object oldValue, object newValue) 121 public static BoundsConstraint GetBoundsConstraint(BindableObject bindable) 126 public static Constraint GetHeightConstraint(BindableObject bindable) 131 public static Constraint GetWidthConstraint(BindableObject bindable) 136 public static Constraint GetXConstraint(BindableObject bindable) 141 public static Constraint GetYConstraint(BindableObject bindable) 146 public static void SetBoundsConstraint(BindableObject bindable, BoundsConstraint value) 151 public static void SetHeightConstraint(BindableObject bindable, Constraint value) 156 public static void SetWidthConstraint(BindableObject bindable, Constraint value) 161 public static void SetXConstraint(BindableObject bindable, Constraint value) 166 public static void SetYConstraint(BindableObject bindable, Constraint value)
LineHeightElement.cs (1)
13 static void OnLineHeightChanged(BindableObject bindable, object oldValue, object newValue)
ListView\ListView.cs (9)
620 static void OnFooterChanged(BindableObject bindable, object oldValue, object newValue) 626 static void OnFooterTemplateChanged(BindableObject bindable, object oldValue, object newValue) 632 static void OnGroupDisplayBindingChanged(BindableObject bindable, BindingBase oldValue, BindingBase newValue) 642 static void OnGroupHeaderTemplateChanged(BindableObject bindable, object oldvalue, object newValue) 652 static void OnHeaderChanged(BindableObject bindable, object oldValue, object newValue) 700 static void OnHeaderTemplateChanged(BindableObject bindable, object oldValue, object newValue) 706 static void OnRefreshCommandChanged(BindableObject bindable, object oldValue, object newValue) 739 static void OnSelectedItemChanged(BindableObject bindable, object oldValue, object newValue) 742 static bool ValidateHeaderFooterTemplate(BindableObject bindable, object value)
Menu\FlyoutBase.cs (2)
13 public static void SetContextFlyout(BindableObject b, FlyoutBase value) 18 public static FlyoutBase GetContextFlyout(BindableObject b)
Menu\MenuItem.cs (4)
50 public static Accelerator GetAccelerator(BindableObject bindable) => (Accelerator)bindable.GetValue(AcceleratorProperty); 54 public static void SetAccelerator(BindableObject bindable, Accelerator value) => bindable.SetValue(AcceleratorProperty, value); 119 static object CoerceIsEnabledProperty(BindableObject bindable, object value) 177 static void OnIsEnabledPropertyChanged(BindableObject bindable, object oldValue, object newValue)
MergedStyle.cs (5)
33 public MergedStyle(Type targetType, BindableObject target) 86 public BindableObject Target { get; } 100 public void Apply(BindableObject bindable, SetterSpecificity specificity) 105 void Apply(BindableObject bindable) 119 public void UnApply(BindableObject bindable)
MultiBinding.cs (8)
18 BindableObject _targetObject; 19 BindableObject _proxyObject; 108 _targetObject.SetValueCore(_targetProperty, value, SetValueFlags.ClearDynamicResource, BindableObject.SetValuePrivateFlags.Default | BindableObject.SetValuePrivateFlags.Converted, specificity: SetterSpecificity.FromBinding); 136 internal override void Apply(object context, BindableObject targetObject, BindableProperty targetProperty, bool fromBindingContextChanged, SetterSpecificity specificity) 181 _targetObject.SetValueCore(_targetProperty, value, SetValueFlags.ClearDynamicResource, BindableObject.SetValuePrivateFlags.Default | BindableObject.SetValuePrivateFlags.Converted, specificity); 227 void OnBindingChanged(BindableObject bindable, object oldValue, object newValue)
NavigationPage\NavigationPage.cs (12)
153 static void TitleViewPropertyChanging(BindableObject bindable, object oldValue, object newValue) 165 public static string GetBackButtonTitle(BindableObject page) 179 public static bool GetHasNavigationBar(BindableObject page) 185 public static ImageSource GetTitleIconImageSource(BindableObject bindable) 191 public static View GetTitleView(BindableObject bindable) 197 public static Color GetIconColor(BindableObject bindable) 326 public static void SetBackButtonTitle(BindableObject page, string value) 340 public static void SetHasNavigationBar(BindableObject page, bool value) 346 public static void SetTitleIconImageSource(BindableObject bindable, ImageSource value) 352 public static void SetTitleView(BindableObject bindable, View value) 358 public static void SetIconColor(BindableObject bindable, Color value) 511 static void OnCurrentPageChanged(BindableObject bindable, object oldValue, object newValue)
OrientationStateTrigger.cs (1)
28 static void OnOrientationChanged(BindableObject bindable, object oldvalue, object newvalue)
PaddingElement.cs (6)
12 static void OnPaddingPropertyChanged(BindableObject bindable, object oldValue, object newValue) 17 static object PaddingDefaultValueCreator(BindableObject bindable) 27 static void OnPaddingLeftChanged(BindableObject bindable, object oldValue, object newValue) 39 static void OnPaddingTopChanged(BindableObject bindable, object oldValue, object newValue) 51 static void OnPaddingRightChanged(BindableObject bindable, object oldValue, object newValue) 63 static void OnPaddingBottomChanged(BindableObject bindable, object oldValue, object newValue)
Picker\Picker.cs (3)
235 static object CoerceSelectedIndex(BindableObject bindable, object value) 257 static void OnItemsSourceChanged(BindableObject bindable, object oldValue, object newValue) 361 static void OnSelectedItemChanged(BindableObject bindable, object oldValue, object newValue)
PlatformBindingHelpers.cs (1)
98 static void SetValueFromRenderer(BindableObject bindable, BindableProperty property, object value)
PlatformConfiguration\AndroidSpecific\AppCompat\Application.cs (6)
13 public static bool GetSendDisappearingEventOnPause(BindableObject element) 19 public static void SetSendDisappearingEventOnPause(BindableObject element, bool value) 41 public static bool GetSendAppearingEventOnResume(BindableObject element) 47 public static void SetSendAppearingEventOnResume(BindableObject element, bool value) 69 public static bool GetShouldPreserveKeyboardOnResume(BindableObject element) 75 public static void SetShouldPreserveKeyboardOnResume(BindableObject element, bool value)
PlatformConfiguration\AndroidSpecific\AppCompat\NavigationPage.cs (2)
13 public static int GetBarHeight(BindableObject element) 19 public static void SetBarHeight(BindableObject element, int value)
PlatformConfiguration\AndroidSpecific\Application.cs (2)
26 public static WindowSoftInputModeAdjust GetWindowSoftInputModeAdjust(BindableObject element) 32 public static void SetWindowSoftInputModeAdjust(BindableObject element, WindowSoftInputModeAdjust value)
PlatformConfiguration\AndroidSpecific\Button.cs (4)
14 public static bool GetUseDefaultPadding(BindableObject element) 20 public static void SetUseDefaultPadding(BindableObject element, bool value) 44 public static bool GetUseDefaultShadow(BindableObject element) 50 public static void SetUseDefaultShadow(BindableObject element, bool value)
PlatformConfiguration\AndroidSpecific\Entry.cs (2)
13 public static ImeFlags GetImeOptions(BindableObject element) 19 public static void SetImeOptions(BindableObject element, ImeFlags value)
PlatformConfiguration\AndroidSpecific\ImageButton.cs (8)
15 public static bool GetIsShadowEnabled(BindableObject element) 21 public static void SetIsShadowEnabled(BindableObject element, bool value) 43 public static Color GetShadowColor(BindableObject element) 49 public static void SetShadowColor(BindableObject element, Color value) 71 public static double GetShadowRadius(BindableObject element) 77 public static void SetShadowRadius(BindableObject element, double value) 99 public static Size GetShadowOffset(BindableObject element) 105 public static void SetShadowOffset(BindableObject element, Size value)
PlatformConfiguration\AndroidSpecific\ListView.cs (2)
13 public static bool GetIsFastScrollEnabled(BindableObject element) 19 public static void SetIsFastScrollEnabled(BindableObject element, bool value)
PlatformConfiguration\AndroidSpecific\SwipeView.cs (2)
13 public static SwipeTransitionMode GetSwipeTransitionMode(BindableObject element) 19 public static void SetSwipeTransitionMode(BindableObject element, SwipeTransitionMode value)
PlatformConfiguration\AndroidSpecific\TabbedPage.cs (9)
16 public static bool GetIsSwipePagingEnabled(BindableObject element) 22 public static void SetIsSwipePagingEnabled(BindableObject element, bool value) 60 public static bool GetIsSmoothScrollEnabled(BindableObject element) 66 public static void SetIsSmoothScrollEnabled(BindableObject element, bool value) 104 public static int GetOffscreenPageLimit(BindableObject element) 110 public static void SetOffscreenPageLimit(BindableObject element, int value) 134 public static ToolbarPlacement GetToolbarPlacement(BindableObject element) 140 public static void SetToolbarPlacement(BindableObject element, ToolbarPlacement value) 164 public static int GetMaxItemCount(BindableObject element)
PlatformConfiguration\AndroidSpecific\ViewCell.cs (3)
13 private static void OnIsContextActionsLegacyModeEnabledPropertyChanged(BindableObject element, object oldValue, object newValue) 20 public static bool GetIsContextActionsLegacyModeEnabled(BindableObject element) 26 public static void SetIsContextActionsLegacyModeEnabled(BindableObject element, bool value)
PlatformConfiguration\AndroidSpecific\VisualElement.cs (2)
74 public static bool GetIsLegacyColorModeEnabled(BindableObject element) 84 public static void SetIsLegacyColorModeEnabled(BindableObject element, bool value)
PlatformConfiguration\AndroidSpecific\WebView.cs (2)
25 public static MixedContentHandling GetMixedContentMode(BindableObject element) 31 public static void SetMixedContentMode(BindableObject element, MixedContentHandling value)
PlatformConfiguration\GTKSpecific\BoxView.cs (2)
15 public static bool GetHasCornerRadius(BindableObject element) 21 public static void SetHasCornerRadius(BindableObject element, bool tabPosition)
PlatformConfiguration\GTKSpecific\NavigationPage.cs (2)
15 public static string GetBackButtonIcon(BindableObject element) 21 public static void SetBackButtonIcon(BindableObject element, string backButtonIcon)
PlatformConfiguration\GTKSpecific\TabbedPage.cs (2)
15 public static TabPosition GetTabPosition(BindableObject element) 21 public static void SetTabPosition(BindableObject element, TabPosition tabPosition)
PlatformConfiguration\iOSSpecific\Application.cs (6)
14 public static bool GetPanGestureRecognizerShouldRecognizeSimultaneously(BindableObject element) 20 public static void SetPanGestureRecognizerShouldRecognizeSimultaneously(BindableObject element, bool value) 44 public static bool GetHandleControlUpdatesOnMainThread(BindableObject element) 50 public static void SetHandleControlUpdatesOnMainThread(BindableObject element, bool value) 74 public static bool GetEnableAccessibilityScalingForNamedFontSizes(BindableObject element) 80 public static void SetEnableAccessibilityScalingForNamedFontSizes(BindableObject element, bool value)
PlatformConfiguration\iOSSpecific\Cell.cs (2)
14 public static Color GetDefaultBackgroundColor(BindableObject element) 18 public static void SetDefaultBackgroundColor(BindableObject element, Color value)
PlatformConfiguration\iOSSpecific\DatePicker.cs (2)
17 public static UpdateMode GetUpdateMode(BindableObject element) 23 public static void SetUpdateMode(BindableObject element, UpdateMode value)
PlatformConfiguration\iOSSpecific\Entry.cs (4)
21 public static bool GetAdjustsFontSizeToFitWidth(BindableObject element) 27 public static void SetAdjustsFontSizeToFitWidth(BindableObject element, bool value) 63 public static Color GetCursorColor(BindableObject element) 69 public static void SetCursorColor(BindableObject element, Color value)
PlatformConfiguration\iOSSpecific\FlyoutPage.cs (2)
15 public static bool GetApplyShadow(BindableObject element) 21 public static void SetApplyShadow(BindableObject element, bool value)
PlatformConfiguration\iOSSpecific\ListView.cs (6)
13 public static SeparatorStyle GetSeparatorStyle(BindableObject element) 19 public static void SetSeparatorStyle(BindableObject element, SeparatorStyle value) 41 public static GroupHeaderStyle GetGroupHeaderStyle(BindableObject element) 47 public static void SetGroupHeaderStyle(BindableObject element, GroupHeaderStyle value) 69 public static bool GetRowAnimationsEnabled(BindableObject element) 75 public static void SetRowAnimationsEnabled(BindableObject element, bool value)
PlatformConfiguration\iOSSpecific\NavigationPage.cs (8)
17 public static bool GetIsNavigationBarTranslucent(BindableObject element) 23 public static void SetIsNavigationBarTranslucent(BindableObject element, bool value) 64 public static StatusBarTextColorMode GetStatusBarTextColorMode(BindableObject element) 70 public static void SetStatusBarTextColorMode(BindableObject element, StatusBarTextColorMode value) 94 public static bool GetPrefersLargeTitles(BindableObject element) 100 public static void SetPrefersLargeTitles(BindableObject element, bool value) 124 public static bool GetHideNavigationBarSeparator(BindableObject element) 130 public static void SetHideNavigationBarSeparator(BindableObject element, bool value)
PlatformConfiguration\iOSSpecific\Page.cs (15)
24 public static StatusBarHiddenMode GetPrefersStatusBarHidden(BindableObject element) 34 public static void SetPrefersStatusBarHidden(BindableObject element, StatusBarHiddenMode value) 72 public static UIStatusBarAnimation GetPreferredStatusBarUpdateAnimation(BindableObject element) 82 public static void SetPreferredStatusBarUpdateAnimation(BindableObject element, UIStatusBarAnimation value) 128 public static bool GetUseSafeArea(BindableObject element) 138 public static void SetUseSafeArea(BindableObject element, bool value) 173 public static LargeTitleDisplayMode GetLargeTitleDisplay(BindableObject element) 183 public static void SetLargeTitleDisplay(BindableObject element, LargeTitleDisplayMode value) 222 public static Thickness GetSafeAreaInsets(BindableObject element) 227 static void SetSafeAreaInsets(BindableObject element, Thickness value) 286 /// <param name="element">The <see cref="BindableObject" /> whose modal presentation style is being retrieved.</param> 288 public static UIModalPresentationStyle GetModalPresentationStyle(BindableObject element) 298 static void SetModalPresentationStyle(BindableObject element, UIModalPresentationStyle value) 312 public static bool GetPrefersHomeIndicatorAutoHidden(BindableObject element) 322 public static void SetPrefersHomeIndicatorAutoHidden(BindableObject element, bool value)
PlatformConfiguration\iOSSpecific\Picker.cs (2)
13 public static UpdateMode GetUpdateMode(BindableObject element) 19 public static void SetUpdateMode(BindableObject element, UpdateMode value)
PlatformConfiguration\iOSSpecific\ScrollView.cs (2)
13 public static bool GetShouldDelayContentTouches(BindableObject element) 19 public static void SetShouldDelayContentTouches(BindableObject element, bool value)
PlatformConfiguration\iOSSpecific\SearchBar.cs (2)
18 public static UISearchBarStyle GetSearchBarStyle(BindableObject element) 24 public static void SetSearchBarStyle(BindableObject element, UISearchBarStyle style)
PlatformConfiguration\iOSSpecific\Slider.cs (2)
13 public static bool GetUpdateOnTap(BindableObject element) 19 public static void SetUpdateOnTap(BindableObject element, bool value)
PlatformConfiguration\iOSSpecific\SwipeView.cs (2)
13 public static SwipeTransitionMode GetSwipeTransitionMode(BindableObject element) 19 public static void SetSwipeTransitionMode(BindableObject element, SwipeTransitionMode value)
PlatformConfiguration\iOSSpecific\TabbedPage.cs (2)
15 public static TranslucencyMode GetTranslucencyMode(BindableObject element) 19 public static void SetTranslucencyMode(BindableObject element, TranslucencyMode value)
PlatformConfiguration\iOSSpecific\TimePicker.cs (2)
17 public static UpdateMode GetUpdateMode(BindableObject element) 23 public static void SetUpdateMode(BindableObject element, UpdateMode value)
PlatformConfiguration\iOSSpecific\VisualElement.cs (17)
22 public static BlurEffectStyle GetBlurEffect(BindableObject element) 32 public static void SetBlurEffect(BindableObject element, BlurEffectStyle value) 74 static void OnIsShadowEnabledChanged(BindableObject bindable, object oldValue, object newValue) 100 public static bool GetIsShadowEnabled(BindableObject element) 110 public static void SetIsShadowEnabled(BindableObject element, bool value) 147 public static Color GetShadowColor(BindableObject element) 157 public static void SetShadowColor(BindableObject element, Color value) 194 public static double GetShadowRadius(BindableObject element) 204 public static void SetShadowRadius(BindableObject element, double value) 241 public static Size GetShadowOffset(BindableObject element) 251 public static void SetShadowOffset(BindableObject element, Size value) 288 public static double GetShadowOpacity(BindableObject element) 298 public static void SetShadowOpacity(BindableObject element, double value) 339 public static bool GetIsLegacyColorModeEnabled(BindableObject element) 349 public static void SetIsLegacyColorModeEnabled(BindableObject element, bool value) 387 public static bool GetCanBecomeFirstResponder(BindableObject element) 397 public static void SetCanBecomeFirstResponder(BindableObject element, bool value)
PlatformConfiguration\macOSSpecific\NavigationPage.cs (5)
16 public static NavigationTransitionStyle GetNavigationTransitionPushStyle(BindableObject element) 22 public static void SetNavigationTransitionPushStyle(BindableObject element, NavigationTransitionStyle value) 36 public static NavigationTransitionStyle GetNavigationTransitionPopStyle(BindableObject element) 42 public static void SetNavigationTransitionPopStyle(BindableObject element, NavigationTransitionStyle value) 55 public static void SetNavigationTransitionStyle(BindableObject element, NavigationTransitionStyle pushStyle, NavigationTransitionStyle popStyle)
PlatformConfiguration\macOSSpecific\Page.cs (2)
14 public static VisualElement[] GetTabOrder(BindableObject element) 20 public static void SetTabOrder(BindableObject element, params VisualElement[] value)
PlatformConfiguration\macOSSpecific\TabbedPage.cs (2)
14 public static TabsStyle GetTabsStyle(BindableObject element) 20 public static void SetTabsStyle(BindableObject element, TabsStyle value)
PlatformConfiguration\TizenSpecific\Application.cs (6)
15 public static bool GetUseBezelInteraction(BindableObject element) 21 public static void SetUseBezelInteraction(BindableObject element, bool value) 43 public static View GetOverlayContent(BindableObject application) 49 public static void SetOverlayContent(BindableObject application, View value) 71 public static Element GetActiveBezelInteractionElement(BindableObject application) 78 public static void SetActiveBezelInteractionElement(BindableObject application, Element value)
PlatformConfiguration\TizenSpecific\Entry.cs (2)
13 public static string GetFontWeight(BindableObject element) 19 public static void SetFontWeight(BindableObject element, string weight)
PlatformConfiguration\TizenSpecific\Image.cs (4)
17 public static Color GetBlendColor(BindableObject element) 23 public static void SetBlendColor(BindableObject element, Color color) 42 public static string GetFile(BindableObject element) 48 public static void SetFile(BindableObject element, string file)
PlatformConfiguration\TizenSpecific\ItemsView.cs (2)
12 public static ScrollToPosition GetFocusedItemScrollPosition(BindableObject element) 17 public static void SetFocusedItemScrollPosition(BindableObject element, ScrollToPosition position)
PlatformConfiguration\TizenSpecific\Label.cs (2)
13 public static string GetFontWeight(BindableObject element) 19 public static void SetFontWeight(BindableObject element, string weight)
PlatformConfiguration\TizenSpecific\NavigationPage.cs (2)
15 public static bool GetHasBreadCrumbsBar(BindableObject element) 21 public static void SetHasBreadCrumbsBar(BindableObject element, bool value)
PlatformConfiguration\TizenSpecific\Page.cs (2)
15 public static string GetBreadCrumb(BindableObject page) 21 public static void SetBreadCrumb(BindableObject page, string value)
PlatformConfiguration\TizenSpecific\ProgressBar.cs (2)
16 public static bool GetPulsingStatus(BindableObject element) 22 public static void SetPulsingStatus(BindableObject element, bool isPulsing)
PlatformConfiguration\TizenSpecific\ScrollView.cs (4)
22 public static int GetVerticalScrollStep(BindableObject element) 27 public static void SetVerticalScrollStep(BindableObject element, int scrollStep) 43 public static int GetHorizontalScrollStep(BindableObject element) 48 public static void SetHorizontalScrollStep(BindableObject element, int scrollStep)
PlatformConfiguration\TizenSpecific\Switch.cs (2)
15 public static Color GetColor(BindableObject element) 21 public static void SetColor(BindableObject element, Color color)
PlatformConfiguration\TizenSpecific\VisualElement.cs (21)
52 public static string GetStyle(BindableObject element) 62 public static void SetStyle(BindableObject element, string value) 94 public static bool? IsFocusAllowed(BindableObject element) 104 public static void SetFocusAllowed(BindableObject element, bool value) 137 public static string GetNextFocusDirection(BindableObject element) 148 public static void SetNextFocusDirection(BindableObject element, string value) 248 public static View GetNextFocusUpView(BindableObject element) 258 public static void SetNextFocusUpView(BindableObject element, View value) 290 public static View GetNextFocusDownView(BindableObject element) 300 public static void SetNextFocusDownView(BindableObject element, View value) 332 public static View GetNextFocusLeftView(BindableObject element) 342 public static void SetNextFocusLeftView(BindableObject element, View value) 374 public static View GetNextFocusRightView(BindableObject element) 384 public static void SetNextFocusRightView(BindableObject element, View value) 416 public static View GetNextFocusBackView(BindableObject element) 426 public static void SetNextFocusBackView(BindableObject element, View value) 458 public static View GetNextFocusForwardView(BindableObject element) 468 public static void SetNextFocusForwardView(BindableObject element, View value) 495 static void OnNextFocusDirectionPropertyChanged(BindableObject bindable, object oldvalue, object newvalue) 505 public static string GetToolTip(BindableObject element) 515 public static void SetToolTip(BindableObject element, string value)
PlatformConfiguration\WindowsSpecific\Application.cs (3)
16 public static void SetImageDirectory(BindableObject element, string value) 28 public static string GetImageDirectory(BindableObject element) 41 static void OnImageDirectoryChanged(BindableObject bindable, object oldValue, object newValue)
PlatformConfiguration\WindowsSpecific\FlyoutPage.cs (4)
19 public static CollapseStyle GetCollapseStyle(BindableObject element) 25 public static void SetCollapseStyle(BindableObject element, CollapseStyle collapseStyle) 62 public static double GetCollapsedPaneWidth(BindableObject element) 68 public static void SetCollapsedPaneWidth(BindableObject element, double collapsedPaneWidth)
PlatformConfiguration\WindowsSpecific\InputView.cs (2)
15 public static void SetDetectReadingOrderFromContent(BindableObject element, bool value) 27 public static bool GetDetectReadingOrderFromContent(BindableObject element)
PlatformConfiguration\WindowsSpecific\Label.cs (2)
15 public static void SetDetectReadingOrderFromContent(BindableObject element, bool value) 27 public static bool GetDetectReadingOrderFromContent(BindableObject element)
PlatformConfiguration\WindowsSpecific\ListView.cs (2)
19 public static ListViewSelectionMode GetSelectionMode(BindableObject element) 25 public static void SetSelectionMode(BindableObject element, ListViewSelectionMode value)
PlatformConfiguration\WindowsSpecific\Page.cs (4)
31 public static ToolbarPlacement GetToolbarPlacement(BindableObject element) 41 public static void SetToolbarPlacement(BindableObject element, ToolbarPlacement toolbarPlacement) 85 public static bool GetToolbarDynamicOverflowEnabled(BindableObject element) 95 public static void SetToolbarDynamicOverflowEnabled(BindableObject element, bool value)
PlatformConfiguration\WindowsSpecific\RefreshView.cs (2)
21 public static void SetRefreshPullDirection(BindableObject element, RefreshPullDirection value) 33 public static RefreshPullDirection GetRefreshPullDirection(BindableObject element)
PlatformConfiguration\WindowsSpecific\SearchBar.cs (2)
18 public static void SetIsSpellCheckEnabled(BindableObject element, bool value) 24 public static bool GetIsSpellCheckEnabled(BindableObject element)
PlatformConfiguration\WindowsSpecific\TabbedPage.cs (4)
23 public static void SetHeaderIconsEnabled(BindableObject element, bool value) 29 public static bool GetHeaderIconsEnabled(BindableObject element) 67 public static void SetHeaderIconsSize(BindableObject element, Size value) 73 public static Size GetHeaderIconsSize(BindableObject element)
PlatformConfiguration\WindowsSpecific\VisualElement.cs (10)
26 public static string GetAccessKey(BindableObject element) 32 public static void SetAccessKey(BindableObject element, string value) 52 public static AccessKeyPlacement GetAccessKeyPlacement(BindableObject element) 57 public static void SetAccessKeyPlacement(BindableObject element, AccessKeyPlacement value) 75 public static double GetAccessKeyHorizontalOffset(BindableObject element) 80 public static void SetAccessKeyHorizontalOffset(BindableObject element, double value) 97 public static double GetAccessKeyVerticalOffset(BindableObject element) 102 public static void SetAccessKeyVerticalOffset(BindableObject element, double value) 126 public static bool GetIsLegacyColorModeEnabled(BindableObject element) 132 public static void SetIsLegacyColorModeEnabled(BindableObject element, bool value)
PlatformConfiguration\WindowsSpecific\WebView.cs (4)
14 public static bool GetIsJavaScriptAlertEnabled(BindableObject element) 20 public static void SetIsJavaScriptAlertEnabled(BindableObject element, bool value) 41 public static WebViewExecutionMode GetExecutionMode(BindableObject element) 46 public static void SetExecutionMode(BindableObject element, WebViewExecutionMode value)
RadioButton\RadioButtonGroup.cs (6)
17 static RadioButtonGroupController GetRadioButtonGroupController(BindableObject b) 28 public static string GetGroupName(BindableObject b) 33 public static void SetGroupName(BindableObject bindable, string groupName) 45 public static object GetSelectedValue(BindableObject bindableObject) 50 public static void SetSelectedValue(BindableObject bindable, object selectedValue) 89 static void OnControllerChanged(BindableObject bindableObject, RadioButtonGroupController oldController,
RefreshView\RefreshView.cs (2)
32 static void OnIsRefreshingPropertyChanged(BindableObject bindable, object oldValue, object newValue) 44 static object OnIsRefreshingPropertyCoerced(BindableObject bindable, object value)
RelativeBindingSource.cs (4)
74 internal async Task Apply(BindingExpression expression, Element relativeSourceTarget, BindableObject targetObject, BindableProperty targetProperty, SetterSpecificity specificity) 80 internal async Task Apply(TypedBindingBase binding, Element relativeSourceTarget, BindableObject targetObject, BindableProperty targetProperty, SetterSpecificity specificity) 201 BindableObject target, 218 BindableObject target,
Routing.cs (5)
82 internal static bool IsImplicit(BindableObject source) 92 internal static bool IsDefault(BindableObject source) 97 internal static bool IsUserDefined(BindableObject source) 132 static object CreateDefaultRoute(BindableObject bindable) 177 public static string GetRoute(BindableObject obj)
SemanticProperties.cs (10)
18 public static string GetDescription(BindableObject bindable) 23 public static void SetDescription(BindableObject bindable, string value) 28 public static string GetHint(BindableObject bindable) 33 public static void SetHint(BindableObject bindable, string value) 38 public static SemanticHeadingLevel GetHeadingLevel(BindableObject bindable) 43 public static void SetHeadingLevel(BindableObject bindable, SemanticHeadingLevel value) 63 internal static ActionDisposable FakeBindSemanticProperties(BindableObject source, BindableObject dest) 86 void CopyProperty(BindableProperty bp, BindableObject source, BindableObject dest)
Setter.cs (7)
49 return Property.DeclaringType.GetRuntimeMethod("Get" + Property.PropertyName, new[] { typeof(BindableObject) }); 64 internal void Apply(BindableObject target, SetterSpecificity specificity) 69 var targetObject = target; 72 targetObject = element.FindByName(TargetName) as BindableObject ?? throw new XamlParseException($"Cannot resolve '{TargetName}' as Setter Target for '{target}'."); 87 internal void UnApply(BindableObject target, SetterSpecificity specificity) 93 var targetObject = target; 96 targetObject = element.FindByName(TargetName) as BindableObject ?? throw new ArgumentNullException(nameof(targetObject));
Shapes\CompositeTransform.cs (1)
114 static void OnTransformPropertyChanged(BindableObject bindable, object oldValue, object newValue)
Shapes\GeometryGroup.cs (1)
17 static void OnChildrenChanged(BindableObject bindable, object oldValue, object newValue)
Shapes\MatrixTransform.cs (1)
19 static void OnTransformPropertyChanged(BindableObject bindable, object oldValue, object newValue)
Shapes\Path.cs (2)
47 static void OnGeometryPropertyChanged(BindableObject bindable, object oldValue, object newValue) 66 static void OnTransformPropertyChanged(BindableObject bindable, object oldValue, object newValue)
Shapes\PathFigure.cs (1)
24 static void OnPathSegmentCollectionChanged(BindableObject bindable, object oldValue, object newValue)
Shapes\PathGeometry.cs (1)
43 static void OnPathFigureCollectionChanged(BindableObject bindable, object oldValue, object newValue)
Shapes\RotateTransform.cs (1)
65 static void OnTransformPropertyChanged(BindableObject bindable, object oldValue, object newValue)
Shapes\RoundRectangleGeometry.cs (2)
29 static void OnRectChanged(BindableObject bindable, object oldValue, object newValue) 46 static void OnCornerRadiusChanged(BindableObject bindable, object oldValue, object newValue)
Shapes\ScaleTransform.cs (1)
77 static void OnTransformPropertyChanged(BindableObject bindable, object oldValue, object newValue)
Shapes\SkewTransform.cs (1)
79 static void OnTransformPropertyChanged(BindableObject bindable, object oldValue, object newValue)
Shapes\TransformGroup.cs (1)
29 static void OnTransformGroupChanged(BindableObject bindable, object oldValue, object newValue)
Shapes\TranslateTransform.cs (1)
44 static void OnTransformPropertyChanged(BindableObject bindable, object oldValue, object newValue)
Shell\BackButtonBehavior.cs (2)
79 static void OnCommandChanged(BindableObject bindable, object oldValue, object newValue) 87 static void OnCommandParameterChanged(BindableObject bindable, object oldValue, object newValue)
Shell\BaseShellItem.cs (9)
216 static void OnTitlePropertyChanged(BindableObject bindable, object oldValue, object newValue) 223 static void OnIconChanged(BindableObject bindable, object oldValue, object newValue) 232 static void OnFlyoutItemIsVisibleChanged(BindableObject bindable, object oldValue, object newValue) 255 internal static void Propagate(BindableProperty property, BindableObject from, BindableObject to, bool onlyToImplicit) 335 BindableObject NonImplicitParent 351 internal static DataTemplate CreateDefaultFlyoutItemCell(BindableObject bo) 536 var bo = g.BindingContext as BindableObject;
Shell\IShellController.cs (1)
59 DataTemplate GetFlyoutItemDataTemplate(BindableObject bo);
Shell\SearchHandler.cs (7)
33 static void OnIsFocusedPropertyChanged(BindableObject bindable, object oldvalue, object newvalue) 608 static void OnClearPlaceholderCommandChanged(BindableObject bindable, object oldValue, object newValue) 616 static void OnClearPlaceholderCommandParameterChanged(BindableObject bindable, object oldValue, object newValue) 621 static void OnCommandChanged(BindableObject bindable, object oldValue, object newValue) 629 static void OnCommandParameterChanged(BindableObject bindable, object oldValue, object newValue) 644 static void OnItemsSourceChanged(BindableObject bindable, object oldValue, object newValue) 653 static void OnQueryChanged(BindableObject bindable, object oldValue, object newValue)
Shell\Shell.cs (68)
38 static void OnBackButonBehaviorPropertyChanged(BindableObject bindable, object oldValue, object newValue) 69 private static void OnNavBarIsVisibleChanged(BindableObject bindable, object oldValue, object newValue) 94 static void OnSearchHandlerPropertyChanged(BindableObject bindable, object oldValue, object newValue) 108 public static bool GetFlyoutItemIsVisible(BindableObject obj) => (bool)obj.GetValue(FlyoutItemIsVisibleProperty); 116 public static void SetFlyoutItemIsVisible(BindableObject obj, bool isVisible) => obj.SetValue(FlyoutItemIsVisibleProperty, isVisible); 118 static void OnFlyoutItemIsVisibleChanged(BindableObject bindable, object oldValue, object newValue) 155 public static DataTemplate GetMenuItemTemplate(BindableObject obj) => (DataTemplate)obj.GetValue(MenuItemTemplateProperty); 166 public static void SetMenuItemTemplate(BindableObject obj, DataTemplate menuItemTemplate) => obj.SetValue(MenuItemTemplateProperty, menuItemTemplate); 179 public static DataTemplate GetItemTemplate(BindableObject obj) => (DataTemplate)obj.GetValue(ItemTemplateProperty); 186 public static void SetItemTemplate(BindableObject obj, DataTemplate itemTemplate) => obj.SetValue(ItemTemplateProperty, itemTemplate); 189 public static BackButtonBehavior GetBackButtonBehavior(BindableObject obj) => (BackButtonBehavior)obj.GetValue(BackButtonBehaviorProperty); 199 public static void SetBackButtonBehavior(BindableObject obj, BackButtonBehavior behavior) => obj.SetValue(BackButtonBehaviorProperty, behavior); 206 public static PresentationMode GetPresentationMode(BindableObject obj) => (PresentationMode)obj.GetValue(PresentationModeProperty); 213 public static void SetPresentationMode(BindableObject obj, PresentationMode presentationMode) => obj.SetValue(PresentationModeProperty, presentationMode); 220 public static FlyoutBehavior GetFlyoutBehavior(BindableObject obj) => (FlyoutBehavior)obj.GetValue(FlyoutBehaviorProperty); 231 public static void SetFlyoutBehavior(BindableObject obj, FlyoutBehavior value) => obj.SetValue(FlyoutBehaviorProperty, value); 238 public static double GetFlyoutWidth(BindableObject obj) => (double)obj.GetValue(FlyoutWidthProperty); 246 public static void SetFlyoutWidth(BindableObject obj, double value) => obj.SetValue(FlyoutWidthProperty, value); 253 public static double GetFlyoutHeight(BindableObject obj) => (double)obj.GetValue(FlyoutHeightProperty); 264 public static void SetFlyoutHeight(BindableObject obj, double value) => obj.SetValue(FlyoutHeightProperty, value); 271 public static bool GetNavBarIsVisible(BindableObject obj) => (bool)obj.GetValue(NavBarIsVisibleProperty); 279 public static void SetNavBarIsVisible(BindableObject obj, bool value) => obj.SetValue(NavBarIsVisibleProperty, value); 286 public static bool GetNavBarHasShadow(BindableObject obj) => (bool)obj.GetValue(NavBarHasShadowProperty); 294 public static void SetNavBarHasShadow(BindableObject obj, bool value) => obj.SetValue(NavBarHasShadowProperty, value); 301 public static SearchHandler GetSearchHandler(BindableObject obj) => (SearchHandler)obj.GetValue(SearchHandlerProperty); 309 public static void SetSearchHandler(BindableObject obj, SearchHandler handler) => obj.SetValue(SearchHandlerProperty, handler); 316 public static bool GetTabBarIsVisible(BindableObject obj) => (bool)obj.GetValue(TabBarIsVisibleProperty); 327 public static void SetTabBarIsVisible(BindableObject obj, bool value) => obj.SetValue(TabBarIsVisibleProperty, value); 334 public static View GetTitleView(BindableObject obj) => (View)obj.GetValue(TitleViewProperty); 341 public static void SetTitleView(BindableObject obj, View value) => obj.SetValue(TitleViewProperty, value); 343 static void OnFlyoutBehaviorChanged(BindableObject bindable, object oldValue, object newValue) 452 public static Color GetBackgroundColor(BindableObject obj) => (Color)obj.GetValue(BackgroundColorProperty); 460 public static void SetBackgroundColor(BindableObject obj, Color value) => obj.SetValue(BackgroundColorProperty, value); 467 public static Color GetDisabledColor(BindableObject obj) => (Color)obj.GetValue(DisabledColorProperty); 474 public static void SetDisabledColor(BindableObject obj, Color value) => obj.SetValue(DisabledColorProperty, value); 481 public static Color GetForegroundColor(BindableObject obj) => (Color)obj.GetValue(ForegroundColorProperty); 489 public static void SetForegroundColor(BindableObject obj, Color value) => obj.SetValue(ForegroundColorProperty, value); 496 public static Color GetTabBarBackgroundColor(BindableObject obj) => (Color)obj.GetValue(TabBarBackgroundColorProperty); 504 public static void SetTabBarBackgroundColor(BindableObject obj, Color value) => obj.SetValue(TabBarBackgroundColorProperty, value); 511 public static Color GetTabBarDisabledColor(BindableObject obj) => (Color)obj.GetValue(TabBarDisabledColorProperty); 519 public static void SetTabBarDisabledColor(BindableObject obj, Color value) => obj.SetValue(TabBarDisabledColorProperty, value); 526 public static Color GetTabBarForegroundColor(BindableObject obj) => (Color)obj.GetValue(TabBarForegroundColorProperty); 534 public static void SetTabBarForegroundColor(BindableObject obj, Color value) => obj.SetValue(TabBarForegroundColorProperty, value); 541 public static Color GetTabBarTitleColor(BindableObject obj) => (Color)obj.GetValue(TabBarTitleColorProperty); 549 public static void SetTabBarTitleColor(BindableObject obj, Color value) => obj.SetValue(TabBarTitleColorProperty, value); 556 public static Color GetTabBarUnselectedColor(BindableObject obj) => (Color)obj.GetValue(TabBarUnselectedColorProperty); 564 public static void SetTabBarUnselectedColor(BindableObject obj, Color value) => obj.SetValue(TabBarUnselectedColorProperty, value); 571 public static Color GetTitleColor(BindableObject obj) => (Color)obj.GetValue(TitleColorProperty); 578 public static void SetTitleColor(BindableObject obj, Color value) => obj.SetValue(TitleColorProperty, value); 585 public static Color GetUnselectedColor(BindableObject obj) => (Color)obj.GetValue(UnselectedColorProperty); 592 public static void SetUnselectedColor(BindableObject obj, Color value) => obj.SetValue(UnselectedColorProperty, value); 599 public static Brush GetFlyoutBackdrop(BindableObject obj) => (Brush)obj.GetValue(FlyoutBackdropProperty); 606 public static void SetFlyoutBackdrop(BindableObject obj, Brush value) => obj.SetValue(FlyoutBackdropProperty, value); 608 static void OnShellAppearanceValueChanged(BindableObject bindable, object oldValue, object newValue) 634 internal static BindableObject GetBindableObjectWithFlyoutItemTemplate(BindableObject bo) 647 DataTemplate IShellController.GetFlyoutItemDataTemplate(BindableObject bo) 650 var bindableObjectWithTemplate = GetBindableObjectWithFlyoutItemTemplate(bo); 896 (sender as BindableObject).PropertyChanged -= OnShellItemPropertyChanged; 1637 static void OnCurrentItemChanged(BindableObject bindable, object oldValue, object newValue) 1668 static void OnCurrentItemChanging(BindableObject bindable, object oldValue, object newValue) 1726 static void OnFlyoutHeaderChanging(BindableObject bindable, object oldValue, object newValue) 1732 static void OnFlyoutFooterChanging(BindableObject bindable, object oldValue, object newValue) 1738 static void OnFlyoutHeaderTemplateChanging(BindableObject bindable, object oldValue, object newValue) 1744 static void OnFlyoutFooterTemplateChanging(BindableObject bindable, object oldValue, object newValue) 1750 static void OnTitleViewChanged(BindableObject bindable, object oldValue, object newValue) => 2063 static void OnFlyoutContentChanging(BindableObject bindable, object oldValue, object newValue) 2069 static void OnFlyoutContentTemplateChanging(BindableObject bindable, object oldValue, object newValue)
Shell\ShellContent.cs (4)
298 static void OnContentChanged(BindableObject bindable, object oldValue, object newValue) 352 if (ContentCache is BindableObject bindable) 356 static void OnQueryAttributesPropertyChanged(BindableObject bindable, object oldValue, object newValue) 372 if (content is BindableObject bindable && bindable.BindingContext != null && content != bindable.BindingContext)
Shell\ShellFlyoutItemsManager.cs (1)
208 bool ShowInFlyoutMenu(BindableObject bo)
Shell\ShellGroupItem.cs (1)
13 static void OnFlyoutDisplayOptionsPropertyChanged(BindableObject bindable, object oldValue, object newValue)
Shell\ShellItem.cs (3)
34 public static bool GetIsVisible(BindableObject obj) => (bool)obj.GetValue(IsVisibleProperty); 36 public static void SetIsVisible(BindableObject obj, bool isVisible) => obj.SetValue(IsVisibleProperty, isVisible); 280 static void OnCurrentItemChanged(BindableObject bindable, object oldValue, object newValue)
Shell\ShellNavigationManager.cs (3)
494 var queryParametersTarget = 495 topNavStackPage as BindableObject ?? 496 (shellContent?.Content as BindableObject) ??
Shell\ShellSection.cs (3)
613 bool IsModal(BindableObject bo) 618 bool IsNavigationAnimated(BindableObject bo) 982 static void OnCurrentItemChanged(BindableObject bindable, object oldValue, object newValue)
StateTrigger.cs (1)
19 static void OnIsActiveChanged(BindableObject bindable, object oldvalue, object newvalue)
Style.cs (10)
19 readonly ConditionalWeakTable<BindableObject, object> _targets = new(); 67 foreach (var target in (IEnumerable<KeyValuePair<BindableObject, object>>)(object)_targets) 93 void IStyle.Apply(BindableObject bindable, SetterSpecificity specificity) 113 void IStyle.UnApply(BindableObject bindable) 140 foreach (var target in (IEnumerable<KeyValuePair<BindableObject, object>>)(object)_targets) 147 Style GetBasedOnResource(BindableObject bindable) => (Style)bindable.GetValue(_basedOnResourceProperty); 149 static void OnBasedOnResourceChanged(BindableObject bindable, object oldValue, object newValue) 161 ConditionalWeakTable<BindableObject, object> specificities = new(); 163 void ApplyCore(BindableObject bindable, Style basedOn, SetterSpecificity specificity) 182 void UnApplyCore(BindableObject bindable, Style basedOn)
StyleSheets\Style.cs (1)
115 return property.DeclaringType.GetRuntimeMethod("Get" + property.PropertyName, new[] { typeof(BindableObject) });
StyleSheets\StyleSheet.cs (2)
97 void IStyle.Apply(BindableObject bindable, SetterSpecificity setterspecificity) 118 void IStyle.UnApply(BindableObject bindable) => throw new NotImplementedException();
SwipeView\SwipeView.cs (2)
133 static void OnSwipeItemsChanged(BindableObject bindable, object oldValue, object newValue) 214 static object SwipeItemsDefaultValueCreator(BindableObject bindable)
TableView\TableSection.cs (2)
13 public abstract class TableSectionBase<T> : TableSectionBase, IList<T>, IVisualTreeElement, INotifyCollectionChanged where T : BindableObject 153 foreach (BindableObject item in notifyCollectionChangedEventArgs.NewItems)
TemplateBinding.cs (2)
88 internal override async void Apply(object newContext, BindableObject bindObj, BindableProperty targetProperty, bool fromBindingContextChanged, SetterSpecificity specificity) 134 void ApplyInner(Element templatedParent, BindableObject bindableObject, BindableProperty targetProperty)
TemplatedItemsList.cs (5)
20 where TView : BindableObject, IItemsView<TItem> 21 where TItem : BindableObject 603 internal static bool GetIsGroupHeader(BindableObject bindable) 617 internal static void SetIsGroupHeader(BindableObject bindable, bool value) 973 static void OnListProxyChanged(BindableObject bindable, object oldValue, object newValue)
TemplateUtilities.cs (3)
56 public static void OnContentChanged(BindableObject bindable, object oldValue, object newValue) 74 BindableObject.SetInheritedBindingContext(newElement, bindable.BindingContext); 79 public static void OnControlTemplateChanged(BindableObject bindable, object oldValue, object newValue)
TextAlignmentElement.cs (1)
15 static void OnHorizontalTextAlignmentPropertyChanged(BindableObject bindable, object oldValue, object newValue)
TextElement.cs (3)
22 static void OnTextColorPropertyChanged(BindableObject bindable, object oldValue, object newValue) 27 static void OnCharacterSpacingPropertyChanged(BindableObject bindable, object oldValue, object newValue) 39 static void OnTextTransformPropertyChanged(BindableObject bindable, object oldValue, object newValue)
TimePicker\TimePicker.cs (1)
164 static void TimePropertyChanged(BindableObject bindable, object oldValue, object newValue)
TitleBar\TitleBar.cs (6)
74 static void OnLeadingChanged(BindableObject bindable, object oldValue, object newValue) 87 static void OnIconChanged(BindableObject bindable, object oldValue, object newValue) 101 static void OnTitleChanged(BindableObject bindable, object oldValue, object newValue) 114 static void OnSubtitleChanged(BindableObject bindable, object oldValue, object newValue) 127 static void OnContentChanged(BindableObject bindable, object oldValue, object newValue) 140 static void OnTrailingContentChanged(BindableObject bindable, object oldValue, object newValue)
ToolTipProperties.cs (4)
11 static void OnToolTipPropertyChanged(BindableObject bindable, object oldValue, object newValue) 17 public static object GetText(BindableObject bindable) 22 public static void SetText(BindableObject bindable, object value) 27 internal static ToolTip? GetToolTip(BindableObject bindable)
TypedBinding.cs (13)
70 internal abstract void ApplyToResolvedSource(object sourceObject, BindableObject target, BindableProperty property, bool fromTarget, SetterSpecificity specificity); 144 readonly WeakReference<BindableObject> _weakTarget = new WeakReference<BindableObject>(null); 155 BindableObject target; 171 internal override void Apply(object context, BindableObject bindObj, BindableProperty targetProperty, bool fromBindingContextChanged, SetterSpecificity specificity) 205 RelativeBindingSource relativeSource, Element relativeSourceTarget, BindableObject targetObject, BindableProperty targetProperty, SetterSpecificity specificity) 234 internal override void ApplyToResolvedSource(object source, BindableObject target, BindableProperty targetProperty, bool fromBindingContextChanged, SetterSpecificity specificity) 288 internal void ApplyCore(object sourceObject, BindableObject target, BindableProperty property, bool fromTarget, SetterSpecificity specificity) 325 target.SetValueCore(property, value, SetValueFlags.ClearDynamicResource, BindableObject.SetValuePrivateFlags.Default | BindableObject.SetValuePrivateFlags.Converted, specificity); 405 BindableObject target = null; 428 BindableObject target = null; 505 IDispatcher dispatcher = (sender as BindableObject)?.Dispatcher;
View\View.cs (6)
18 /// Because <see cref="View" /> ultimately inherits from <see cref="BindableObject" />, application developers can use the Model-View-ViewModel architecture, as well as XAML, to develop portable user interfaces. 45 static void OnMarginLeftPropertyChanged(BindableObject bindable, object oldValue, object newValue) 56 static void OnMarginTopPropertyChanged(BindableObject bindable, object oldValue, object newValue) 67 static void OnMarginRightPropertyChanged(BindableObject bindable, object oldValue, object newValue) 79 static void OnMarginBottomPropertyChanged(BindableObject bindable, object oldValue, object newValue) 266 static void MarginPropertyChanged(BindableObject bindable, object oldValue, object newValue)
VisualElement\VisualElement.cs (12)
203 static void OnTransformChanged(BindableObject bindable, object oldValue, object newValue) 1595 static void OnVisualChanged(BindableObject bindable, object oldValue, object newValue) 1608 static void FlowDirectionChanging(BindableObject bindable, object oldValue, object newValue) 1623 static void FlowDirectionChanged(BindableObject bindable, object oldValue, object newValue) 1628 static object CoerceIsEnabledProperty(BindableObject bindable, object value) 1639 static void OnIsEnabledPropertyChanged(BindableObject bindable, object oldValue, object newValue) 1651 static object CoerceInputTransparentProperty(BindableObject bindable, object value) 1662 static void OnInputTransparentPropertyChanged(BindableObject bindable, object oldValue, object newValue) 1667 static void OnIsFocusedPropertyChanged(BindableObject bindable, object oldvalue, object newvalue) 1689 static void OnRequestChanged(BindableObject bindable, object oldvalue, object newvalue) 1861 static void ZIndexPropertyChanged(BindableObject bindable, object oldValue, object newValue) 2299 static void OnWindowChanged(BindableObject bindable, object? oldValue, object? newValue)
VisualStateManager.cs (1)
30 static void VisualStateGroupsPropertyChanged(BindableObject bindable, object oldValue, object newValue)
Window\Window.cs (4)
369 static void FlowDirectionChanging(BindableObject bindable, object oldValue, object newValue) 380 static void FlowDirectionChanged(BindableObject bindable, object oldValue, object newValue) 388 static void TitleBarChanged(BindableObject bindable, object oldValue, object newValue) 602 static void OnPageChanging(BindableObject bindable, object oldValue, object newValue)
Xaml\Diagnostics\BindablePropertyDiagnostics.cs (1)
7 public static ValueSource GetValueSource(BindableObject bindable, BindableProperty property)
Xaml\Diagnostics\BindingDiagnostics.cs (1)
22 internal static void SendBindingFailure(BindingBase binding, object source, BindableObject bo, BindableProperty bp, string errorCode, string message, params object[] messageArgs)
Xaml\Diagnostics\BindingErrorEventArgs.cs (2)
40 BindableObject target, 54 public BindableObject Target { get; }
Microsoft.Maui.Controls.Build.Tasks (1)
SetPropertiesVisitor.cs (1)
590 && propertyName.LocalName == nameof(BindableObject.BindingContext);
Microsoft.Maui.Controls.Compatibility (3)
Tizen\Platform.cs (3)
32 public static IVisualElementRenderer GetRenderer(BindableObject bindable) 37 public static void SetRenderer(BindableObject bindable, IVisualElementRenderer value) 244 BindableObject.SetInheritedBindingContext(Page, base.BindingContext);
Microsoft.Maui.Controls.Foldable (7)
SpanModeStateTrigger.cs (1)
36 static void OnSpanModeChanged(BindableObject bindable, object oldvalue, object newvalue)
TwoPaneView.cs (5)
98 static object OnMinModePropertyCreate(BindableObject bindable) 109 static void OnModePropertyChanged(BindableObject bindable, object oldValue, object newValue) 115 static void TwoPaneViewLayoutPropertyChanged(BindableObject bindable, object oldValue, object newValue) 121 static void OnPanePropertyChanged(BindableObject bindable, object oldValue, object newValue, int paneIndex) 628 void SetRowColumn(BindableObject bo, int row, int column)
WindowSpanModeStateTrigger.cs (1)
33 static void OnSpanModeChanged(BindableObject bindable, object oldvalue, object newvalue)
Microsoft.Maui.Controls.Xaml (18)
ApplyPropertiesVisitor.cs (8)
527 var bindable = element as BindableObject; 556 if (element is BindableObject bindable && property != null) 593 return property.DeclaringType.GetRuntimeMethod("Get" + property.PropertyName, new[] { typeof(BindableObject) }); 606 if (element is BindableObject bindable) 643 var bindable = element as BindableObject; 802 static bool TryAddValue(BindableObject bindable, BindableProperty property, object value, IServiceProvider serviceProvider, out Exception exception)
CreateValuesVisitor.cs (2)
163 if (value is BindableObject bindableValue && node.NameScopeRef != (parentNode as IElementNode)?.NameScopeRef) 182 if (rnode.Root is BindableObject bindable)
MarkupExtensions\AppThemeBindingExtension.cs (1)
95 return bp.DeclaringType.GetRuntimeMethod("Get" + bp.PropertyName, new[] { typeof(BindableObject) });
MarkupExtensions\OnIdiomExtension.cs (1)
90 return bp.DeclaringType.GetRuntimeMethod("Get" + bp.PropertyName, new[] { typeof(BindableObject) });
MarkupExtensions\OnPlatformExtension.cs (2)
81 return bp.GetDefaultValue(targetObject as BindableObject); 112 return bp.DeclaringType.GetRuntimeMethod("Get" + bp.PropertyName, new[] { typeof(BindableObject) });
MarkupExtensions\ReferenceExtension.cs (1)
28 if (!(target is BindableObject bo))
XamlLoader.cs (1)
131 visitorContext.RootElement = inflatedView as BindableObject;
XamlServiceProvider.cs (2)
176 if (!(objectAndParents[i] is BindableObject bo)) 322 && name.LocalName == nameof(BindableObject.BindingContext))