2 implementations of IBindableLayout
Microsoft.Maui.Controls (2)
Layout\Layout.cs (1)
17 public abstract partial class Layout : View, Maui.ILayout, IList<IView>, IBindableLayout, IPaddingElement, IVisualTreeElement, ISafeAreaView, IInputTransparentContainerElement
LegacyLayouts\Layout.cs (1)
21 public abstract partial class Layout<T> : Layout, Microsoft.Maui.ILayout, ILayoutManager, IBindableLayout, IViewContainer<T> where T : View
29 references to IBindableLayout
Microsoft.Maui.Controls (29)
BindableLayout\BindableLayout.cs (24)
22 BindableProperty.CreateAttached("ItemsSource", typeof(IEnumerable), typeof(IBindableLayout), default(IEnumerable), 27 BindableProperty.CreateAttached("ItemTemplate", typeof(DataTemplate), typeof(IBindableLayout), default(DataTemplate), 32 BindableProperty.CreateAttached("ItemTemplateSelector", typeof(DataTemplateSelector), typeof(IBindableLayout), default(DataTemplateSelector), 36 BindableProperty.CreateAttached("BindableLayoutController", typeof(BindableLayoutController), typeof(IBindableLayout), default(BindableLayoutController), 37 defaultValueCreator: (b) => new BindableLayoutController((IBindableLayout)b), 42 BindableProperty.Create("EmptyView", typeof(object), typeof(IBindableLayout), null, propertyChanged: (b, o, n) => { GetBindableLayoutController(b).EmptyView = n; }); 46 BindableProperty.Create("EmptyViewTemplate", typeof(DataTemplate), typeof(IBindableLayout), null, propertyChanged: (b, o, n) => { GetBindableLayoutController(b).EmptyViewTemplate = (DataTemplate)n; }); 139 internal static void Add(this IBindableLayout layout, object item) 151 internal static void Replace(this IBindableLayout layout, object item, int index) 163 internal static void Insert(this IBindableLayout layout, object item, int index) 175 internal static void Remove(this IBindableLayout layout, object item) 187 internal static void RemoveAt(this IBindableLayout layout, int index) 199 internal static void Clear(this IBindableLayout layout) 239 readonly WeakReference<IBindableLayout> _layoutWeakReference; 257 public BindableLayoutController(IBindableLayout layout) 259 _layoutWeakReference = new WeakReference<IBindableLayout>(layout); 347 if (!_layoutWeakReference.TryGetTarget(out IBindableLayout layout)) 357 if (!_layoutWeakReference.TryGetTarget(out IBindableLayout layout)) 405 bool TryAddEmptyView(IBindableLayout layout, out IEnumerator enumerator) 453 void ClearChildren(IBindableLayout layout) 466 DataTemplate SelectTemplate(object item, IBindableLayout layout) 473 if (!_layoutWeakReference.TryGetTarget(out IBindableLayout layout)) 494 if (!_layoutWeakReference.TryGetTarget(out IBindableLayout layout)) 540 void ReplaceChild(object item, IBindableLayout layout, IList layoutChildren, int index)
IndicatorView\IndicatorView.cs (3)
51 static readonly BindableProperty IndicatorLayoutProperty = BindableProperty.Create(nameof(IndicatorLayout), typeof(IBindableLayout), typeof(IndicatorView), null, propertyChanged: TemplateUtilities.OnContentChanged); 64 public IBindableLayout IndicatorLayout 66 get => (IBindableLayout)GetValue(IndicatorLayoutProperty);
Layout\Layout.cs (1)
43 IList IBindableLayout.Children => _children;
LegacyLayouts\Layout.cs (1)
37 IList IBindableLayout.Children => _children;