Поделиться через


ShapeViewHandler Класс

Определение

public ref class ShapeViewHandler : Microsoft::Maui::Handlers::ViewHandler<Microsoft::Maui::IShapeView ^, System::Object ^>, Microsoft::Maui::Handlers::IShapeViewHandler
public class ShapeViewHandler : Microsoft.Maui.Handlers.ViewHandler<Microsoft.Maui.IShapeView,object>, Microsoft.Maui.Handlers.IShapeViewHandler
type ShapeViewHandler = class
    inherit ViewHandler<IShapeView, obj>
    interface IShapeViewHandler
    interface IViewHandler
    interface IElementHandler
Public Class ShapeViewHandler
Inherits ViewHandler(Of IShapeView, Object)
Implements IShapeViewHandler
Наследование
Производный
Реализации

Конструкторы

ShapeViewHandler()
ShapeViewHandler(IPropertyMapper)
ShapeViewHandler(IPropertyMapper, CommandMapper)

Поля

CommandMapper
Mapper

Свойства

ContainerView

Возвращает представление, которое выступает в качестве контейнера для PlatformView.

(Унаследовано от ViewHandler)
HasContainer

Возвращает или задает значение, указывающее, содержится ли PlatformView объект в представлении.

(Унаследовано от ViewHandler)
MauiContext (Унаследовано от ElementHandler)
NeedsContainer

Возвращает значение, указывающее, требуется ли представлению VirtualView контейнера.

(Унаследовано от ViewHandler)
PlatformView (Унаследовано от ViewHandler<TVirtualView,TPlatformView>)
Services (Унаследовано от ElementHandler)
VirtualView (Унаследовано от ViewHandler<TVirtualView,TPlatformView>)

Методы

ConnectHandler(TPlatformView) (Унаследовано от ViewHandler<TVirtualView,TPlatformView>)
CreatePlatformView()
DisconnectHandler(TPlatformView) (Унаследовано от ViewHandler<TVirtualView,TPlatformView>)
GetDesiredSize(Double, Double) (Унаследовано от ViewHandler<TVirtualView,TPlatformView>)
Invoke(String, Object) (Унаследовано от ElementHandler)
MapAspect(IShapeViewHandler, IShapeView)
MapBackground(IShapeViewHandler, IShapeView)
MapFill(IShapeViewHandler, IShapeView)
MapShape(IShapeViewHandler, IShapeView)
MapStroke(IShapeViewHandler, IShapeView)
MapStrokeDashOffset(IShapeViewHandler, IShapeView)
MapStrokeDashPattern(IShapeViewHandler, IShapeView)
MapStrokeLineCap(IShapeViewHandler, IShapeView)
MapStrokeLineJoin(IShapeViewHandler, IShapeView)
MapStrokeMiterLimit(IShapeViewHandler, IShapeView)
MapStrokeThickness(IShapeViewHandler, IShapeView)
PlatformArrange(Rect) (Унаследовано от ViewHandler<TVirtualView,TPlatformView>)
RemoveContainer() (Унаследовано от ViewHandler<TVirtualView,TPlatformView>)
SetMauiContext(IMauiContext) (Унаследовано от ElementHandler)
SetupContainer() (Унаследовано от ViewHandler<TVirtualView,TPlatformView>)
SetVirtualView(IElement) (Унаследовано от ViewHandler<TVirtualView,TPlatformView>)
SetVirtualView(IView) (Унаследовано от ViewHandler<TVirtualView,TPlatformView>)
UpdateValue(String) (Унаследовано от ElementHandler)

Явные реализации интерфейса

IElementHandler.DisconnectHandler() (Унаследовано от ElementHandler)
IElementHandler.PlatformView (Унаследовано от ViewHandler<TVirtualView,TPlatformView>)
IElementHandler.VirtualView (Унаследовано от ViewHandler<TVirtualView,TPlatformView>)
IShapeViewHandler.PlatformView
IShapeViewHandler.VirtualView
IViewHandler.ContainerView (Унаследовано от ViewHandler)
IViewHandler.VirtualView (Унаследовано от ViewHandler<TVirtualView,TPlatformView>)

Методы расширения

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

Применяется к