Share via


ILayoutHandler Interface

Definition

public interface class ILayoutHandler : Microsoft::Maui::IViewHandler
public interface ILayoutHandler : Microsoft.Maui.IViewHandler
type ILayoutHandler = interface
    interface IViewHandler
    interface IElementHandler
Public Interface ILayoutHandler
Implements IViewHandler
Derived
Implements

Properties

ContainerView

Gets the container view for this view.

(Inherited from IViewHandler)
HasContainer

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

(Inherited from IViewHandler)
MauiContext

Gets the .NET MAUI context associated with the element.

(Inherited from IElementHandler)
PlatformView
VirtualView

Methods

Add(IView)
Clear()
DisconnectHandler()

Disconnects the element handler from the element for clean up.

(Inherited from IElementHandler)
GetDesiredSize(Double, Double)

Computes the actual size of a view based on the desired size and constraints.

(Inherited from IViewHandler)
Insert(Int32, IView)
Invoke(String, Object)

Invokes the specified command on the element with the given arguments.

(Inherited from IElementHandler)
PlatformArrange(Rect)

Positions child elements and determines a size for a view.

(Inherited from IViewHandler)
Remove(IView)
SetMauiContext(IMauiContext)

Sets the .NET MAUI context for the element handler.

(Inherited from IElementHandler)
SetVirtualView(IElement)

Sets the cross-platform virtual view associated with the handler.

(Inherited from IElementHandler)
Update(Int32, IView)
UpdateValue(String)

Updates the value of the specified property on the handler.

(Inherited from IElementHandler)
UpdateZIndex(IView)

Extension Methods

GetRequiredService<T>(IElementHandler, Type)
GetRequiredService<T>(IElementHandler)
GetService<T>(IElementHandler, Type)
GetService<T>(IElementHandler)
GetServiceProvider(IElementHandler)
IsConnected(IElementHandler)

Applies to