Dela via


ImageHandler Class

Definition

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

Constructors

Name Description
ImageHandler()
ImageHandler(IPropertyMapper, CommandMapper)
ImageHandler(IPropertyMapper)

Fields

Name Description
CommandMapper
Mapper

Properties

Name Description
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)
SourceLoader
VirtualView (Inherited from ViewHandler<TVirtualView,TPlatformView>)

Methods

Name Description
ConnectHandler(TPlatformView) (Inherited from ViewHandler<TVirtualView,TPlatformView>)
CreatePlatformView()
DisconnectHandler(TPlatformView) (Inherited from ViewHandler<TVirtualView,TPlatformView>)
GetDesiredSize(Double, Double) (Inherited from ViewHandler<TVirtualView,TPlatformView>)
Invoke(String, Object) (Inherited from ElementHandler)
MapAspect(IImageHandler, IImage)
MapIsAnimationPlaying(IImageHandler, IImage)
MapSource(IImageHandler, IImage)
PlatformArrange(Rect) (Inherited from ViewHandler<TVirtualView,TPlatformView>)
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>)
UpdateValue(String) (Inherited from ElementHandler)

Explicit Interface Implementations

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

Extension Methods

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

Applies to