4 interfaces inheriting from ILayout
Microsoft.Maui (4)
Core\IAbsoluteLayout.cs (1)
9
public interface IAbsoluteLayout :
ILayout
Core\IFlexLayout.cs (1)
10
public interface IFlexLayout :
ILayout
Core\IGridLayout.cs (1)
10
public interface IGridLayout :
ILayout
Core\IStackLayout.cs (1)
6
public interface IStackLayout :
ILayout
2 implementations of ILayout
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
45 references to ILayout
Microsoft.Maui (27)
Core\IIndicatorView.cs (1)
61
ILayout
? IndicatorsLayoutOverride { get; }
Handlers\Layout\ILayoutHandler.cs (1)
17
new
ILayout
VirtualView { get; }
Handlers\Layout\LayoutExtensions.cs (2)
8
public static IOrderedEnumerable<IView> OrderByZIndex(this
ILayout
layout) => layout.OrderBy(v => v.ZIndex);
10
public static int GetLayoutHandlerIndex(this
ILayout
layout, IView view)
Handlers\Layout\LayoutHandler.cs (18)
17
/// Represents the view handler for the abstract <see cref="
ILayout
"/> view and its platform-specific implementation.
22
public static IPropertyMapper<
ILayout
, ILayoutHandler> Mapper = new PropertyMapper<
ILayout
, ILayoutHandler>(ViewMapper)
24
[nameof(
ILayout
.Background)] = MapBackground,
25
[nameof(
ILayout
.ClipsToBounds)] = MapClipsToBounds,
31
public static CommandMapper<
ILayout
, ILayoutHandler> CommandMapper = new(ViewCommandMapper)
51
ILayout
ILayoutHandler.VirtualView => VirtualView;
59
/// <param name="layout">The associated <see cref="
ILayout
"/> instance.</param>
60
public static partial void MapBackground(ILayoutHandler handler,
ILayout
layout);
72
/// Maps the abstract <see cref="
ILayout
.ClipsToBounds"/> property to the platform-specific implementations.
75
/// <param name="layout">The associated <see cref="
ILayout
"/> instance.</param>
76
public static void MapClipsToBounds(ILayoutHandler handler,
ILayout
layout)
81
public static void MapAdd(ILayoutHandler handler,
ILayout
layout, object? arg)
89
public static void MapRemove(ILayoutHandler handler,
ILayout
layout, object? arg)
97
public static void MapInsert(ILayoutHandler handler,
ILayout
layout, object? arg)
105
public static void MapClear(ILayoutHandler handler,
ILayout
layout, object? arg)
110
static void MapUpdate(ILayoutHandler handler,
ILayout
layout, object? arg)
118
static void MapUpdateZIndex(ILayoutHandler handler,
ILayout
layout, object? arg)
Handlers\Layout\LayoutHandler.Standard.cs (2)
7
public partial class LayoutHandler : ViewHandler<
ILayout
, object>
16
public static partial void MapBackground(ILayoutHandler handler,
ILayout
layout) => throw new NotImplementedException();
Handlers\View\ViewHandler.cs (1)
470
if (view.Parent is
ILayout
layout)
Layouts\LayoutManager.cs (2)
9
public LayoutManager(
ILayout
layout)
14
public
ILayout
Layout { get; }
Microsoft.Maui.Controls (18)
BindableLayout\BindableLayout.cs (6)
141
if (layout is Maui.
ILayout
mauiLayout && item is IView view)
153
if (layout is Maui.
ILayout
mauiLayout && item is IView view)
165
if (layout is Maui.
ILayout
mauiLayout && item is IView view)
177
if (layout is Maui.
ILayout
mauiLayout && item is IView view)
189
if (layout is Maui.
ILayout
mauiLayout)
201
if (layout is Maui.
ILayout
mauiLayout)
IndicatorView\IndicatorView.cs (2)
192
Maui.
ILayout
ITemplatedIndicatorView.IndicatorsLayoutOverride => (IndicatorTemplate != null) ? IndicatorLayout as Maui.
ILayout
: null;
Layout\AbsoluteLayout.cs (1)
47
if (bindable is View view && view.Parent is Maui.
ILayout
layout)
Layout\Layout.cs (2)
105
view.Handler?.UpdateValue(nameof(Maui.
ILayout
.ClipsToBounds));
109
bool Maui.
ILayout
.ClipsToBounds => IsClippedToBounds;
LegacyLayouts\Layout.cs (1)
167
view.Handler?.UpdateValue(nameof(Maui.
ILayout
.ClipsToBounds));
LegacyLayouts\LayoutOfT.cs (1)
15
bool Maui.
ILayout
.ClipsToBounds => IsClippedToBounds;
RadioButton\RadioButtonGroup.cs (4)
13
BindableProperty.CreateAttached("RadioButtonGroupController", typeof(RadioButtonGroupController), typeof(Maui.
ILayout
), default(RadioButtonGroupController),
14
defaultValueCreator: (b) => new RadioButtonGroupController(b as Maui.
ILayout
),
24
BindableProperty.Create("GroupName", typeof(string), typeof(Maui.
ILayout
), null,
40
BindableProperty.Create("SelectedValue", typeof(object), typeof(Maui.
ILayout
), null,
RadioButton\RadioButtonGroupController.cs (1)
15
public RadioButtonGroupController(Maui.
ILayout
layout)