LayoutHandler Class

Definition

Represents the view handler for the abstract ILayout view and its platform-specific implementation.

public ref class LayoutHandler : Microsoft::Maui::Handlers::ViewHandler<Microsoft::Maui::ILayout ^, System::Object ^>, Microsoft::Maui::ILayoutHandler
public class LayoutHandler : Microsoft.Maui.Handlers.ViewHandler<Microsoft.Maui.ILayout,object>, Microsoft.Maui.ILayoutHandler
type LayoutHandler = class
    inherit ViewHandler<ILayout, obj>
    interface ILayoutHandler
    interface IViewHandler
    interface IElementHandler
Public Class LayoutHandler
Inherits ViewHandler(Of ILayout, Object)
Implements ILayoutHandler
Inheritance
Implements

Constructors

LayoutHandler()
LayoutHandler(IPropertyMapper, CommandMapper)

Fields

CommandMapper
Mapper

Properties

ContainerView

Gets the view that acts as a container for the PlatformView.

(Inherited from ViewHandler)
HasContainer

Gets or sets a value that indicates whether the PlatformView is contained within a view.

(Inherited from ViewHandler)
MauiContext (Inherited from ElementHandler)
NeedsContainer

Gets a value that indicates whether or not the VirtualView needs a container view.

(Inherited from ViewHandler)
PlatformView (Inherited from ViewHandler<TVirtualView,TPlatformView>)
Services (Inherited from ElementHandler)
VirtualView (Inherited from ViewHandler<TVirtualView,TPlatformView>)

Methods

Add(IView)
Clear()
ConnectHandler(TPlatformView) (Inherited from ViewHandler<TVirtualView,TPlatformView>)
CreatePlatformView()
DisconnectHandler(TPlatformView) (Inherited from ViewHandler<TVirtualView,TPlatformView>)
GetDesiredSize(Double, Double) (Inherited from ViewHandler<TVirtualView,TPlatformView>)
Insert(Int32, IView)
Invoke(String, Object) (Inherited from ElementHandler)
MapAdd(ILayoutHandler, ILayout, Object)
MapBackground(ILayoutHandler, ILayout)

Maps the abstract Background property to the platform-specific implementations.

MapClear(ILayoutHandler, ILayout, Object)
MapClipsToBounds(ILayoutHandler, ILayout)

Maps the abstract ClipsToBounds property to the platform-specific implementations.

MapInsert(ILayoutHandler, ILayout, Object)
MapRemove(ILayoutHandler, ILayout, Object)
PlatformArrange(Rect) (Inherited from ViewHandler<TVirtualView,TPlatformView>)
Remove(IView)
RemoveContainer() (Inherited from ViewHandler<TVirtualView,TPlatformView>)
SetMauiContext(IMauiContext) (Inherited from ElementHandler)
SetupContainer() (Inherited from ViewHandler<TVirtualView,TPlatformView>)
SetVirtualView(IElement) (Inherited from ViewHandler<TVirtualView,TPlatformView>)
SetVirtualView(IView) (Inherited from ViewHandler<TVirtualView,TPlatformView>)
Update(Int32, IView)
UpdateValue(String) (Inherited from ElementHandler)
UpdateZIndex(IView)

Explicit Interface Implementations

IElementHandler.DisconnectHandler() (Inherited from ElementHandler)
IElementHandler.PlatformView (Inherited from ViewHandler<TVirtualView,TPlatformView>)
IElementHandler.VirtualView (Inherited from ViewHandler<TVirtualView,TPlatformView>)
ILayoutHandler.PlatformView
ILayoutHandler.VirtualView
IViewHandler.ContainerView (Inherited from ViewHandler)
IViewHandler.VirtualView (Inherited from ViewHandler<TVirtualView,TPlatformView>)

Applies to