2 implementations of IBindableLayout
Microsoft.Maui.Controls (2)
Layout\Layout.cs (1)
19
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)
23
BindableProperty.CreateAttached("ItemsSource", typeof(IEnumerable), typeof(
IBindableLayout
), default(IEnumerable),
28
BindableProperty.CreateAttached("ItemTemplate", typeof(DataTemplate), typeof(
IBindableLayout
), default(DataTemplate),
33
BindableProperty.CreateAttached("ItemTemplateSelector", typeof(DataTemplateSelector), typeof(
IBindableLayout
), default(DataTemplateSelector),
37
BindableProperty.CreateAttached("BindableLayoutController", typeof(BindableLayoutController), typeof(
IBindableLayout
), default(BindableLayoutController),
38
defaultValueCreator: (b) => new BindableLayoutController((
IBindableLayout
)b),
43
BindableProperty.Create("EmptyView", typeof(object), typeof(
IBindableLayout
), null, propertyChanged: (b, o, n) => { GetBindableLayoutController(b).EmptyView = n; });
47
BindableProperty.Create("EmptyViewTemplate", typeof(DataTemplate), typeof(
IBindableLayout
), null, propertyChanged: (b, o, n) => { GetBindableLayoutController(b).EmptyViewTemplate = (DataTemplate)n; });
140
internal static void Add(this
IBindableLayout
layout, object item)
152
internal static void Replace(this
IBindableLayout
layout, object item, int index)
164
internal static void Insert(this
IBindableLayout
layout, object item, int index)
176
internal static void Remove(this
IBindableLayout
layout, object item)
188
internal static void RemoveAt(this
IBindableLayout
layout, int index)
200
internal static void Clear(this
IBindableLayout
layout)
240
readonly WeakReference<
IBindableLayout
> _layoutWeakReference;
258
public BindableLayoutController(
IBindableLayout
layout)
260
_layoutWeakReference = new WeakReference<
IBindableLayout
>(layout);
348
if (!_layoutWeakReference.TryGetTarget(out
IBindableLayout
layout))
358
if (!_layoutWeakReference.TryGetTarget(out
IBindableLayout
layout))
411
bool TryAddEmptyView(
IBindableLayout
layout, out IEnumerator enumerator)
458
void ClearChildren(
IBindableLayout
layout)
476
DataTemplate SelectTemplate(object item,
IBindableLayout
layout)
483
if (!_layoutWeakReference.TryGetTarget(out
IBindableLayout
layout))
504
if (!_layoutWeakReference.TryGetTarget(out
IBindableLayout
layout))
553
void ReplaceChild(object item,
IBindableLayout
layout, IList layoutChildren, int index)
IndicatorView\IndicatorView.cs (3)
54
static readonly BindableProperty IndicatorLayoutProperty = BindableProperty.Create(nameof(IndicatorLayout), typeof(
IBindableLayout
), typeof(IndicatorView), null, propertyChanged: TemplateUtilities.OnContentChanged);
67
public
IBindableLayout
IndicatorLayout
69
get => (
IBindableLayout
)GetValue(IndicatorLayoutProperty);
Layout\Layout.cs (1)
45
IList
IBindableLayout
.Children => _children;
LegacyLayouts\Layout.cs (1)
37
IList
IBindableLayout
.Children => _children;