ViewHandler<TVirtualView,TPlatformView> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
generic <typename TVirtualView, typename TPlatformView>
where TVirtualView : class, IView where TPlatformView : classpublic ref class ViewHandler abstract : Microsoft::Maui::Handlers::ViewHandler
generic <typename TVirtualView, typename TPlatformView>
where TVirtualView : class, IView where TPlatformView : classpublic ref class ViewHandler abstract : Microsoft::Maui::Handlers::ViewHandler, Microsoft::Maui::IElementHandler<TVirtualView, TPlatformView>, Microsoft::Maui::IViewHandler<TVirtualView, TPlatformView>
public abstract class ViewHandler<TVirtualView,TPlatformView> : Microsoft.Maui.Handlers.ViewHandler where TVirtualView : class, IView where TPlatformView : class
public abstract class ViewHandler<TVirtualView,TPlatformView> : Microsoft.Maui.Handlers.ViewHandler, Microsoft.Maui.IElementHandler<TVirtualView,TPlatformView>, Microsoft.Maui.IViewHandler<TVirtualView,TPlatformView> where TVirtualView : class, IView where TPlatformView : class
type ViewHandler<'VirtualView, 'PlatformView (requires 'VirtualView : null and 'VirtualView :> IView and 'PlatformView : null)> = class
inherit ViewHandler
interface IViewHandler
interface IElementHandler
type ViewHandler<'VirtualView, 'PlatformView (requires 'VirtualView : null and 'VirtualView :> IView and 'PlatformView : null)> = class
inherit ViewHandler
interface IViewHandler
interface IElementHandler
interface IViewHandler<'VirtualView, 'PlatformView (requires 'VirtualView : null and 'VirtualView :> IView and 'PlatformView : null)>
interface IElementHandler<'VirtualView, 'PlatformView (requires 'VirtualView : null and 'VirtualView :> IView and 'PlatformView : null)>
Public MustInherit Class ViewHandler(Of TVirtualView, TPlatformView)
Inherits ViewHandler
Public MustInherit Class ViewHandler(Of TVirtualView, TPlatformView)
Inherits ViewHandler
Implements IElementHandler(Of TVirtualView, TPlatformView), IViewHandler(Of TVirtualView, TPlatformView)
Type Parameters
- TVirtualView
- TPlatformView
- Inheritance
- Derived
- Implements
Constructors
| Name | Description |
|---|---|
| ViewHandler<TVirtualView,TPlatformView>(IPropertyMapper, CommandMapper) | |
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 | |
| PlatformViewFactory | |
| Services | (Inherited from ElementHandler) |
| VirtualView | |
Methods
| Name | Description |
|---|---|
| ConnectHandler(TPlatformView) | |
| CreatePlatformView() | |
| DisconnectHandler(TPlatformView) | |
| GetDesiredSize(Double, Double) | |
| Invoke(String, Object) | (Inherited from ElementHandler) |
| PlatformArrange(Rect) | |
| RemoveContainer() | |
| SetContainerView(Object) |
Sets or clears the view returned by ContainerView. (Inherited from ViewHandler) |
| SetMauiContext(IMauiContext) | (Inherited from ElementHandler) |
| SetupContainer() | |
| SetVirtualView(IElement) | |
| SetVirtualView(IView) | |
| UpdateValue(String) | (Inherited from ElementHandler) |
| ValidateContainerView(Object) |
Validates that |
Explicit Interface Implementations
| Name | Description |
|---|---|
| IElementHandler.DisconnectHandler() | (Inherited from ElementHandler) |
| IElementHandler.PlatformView | |
| IElementHandler.VirtualView | |
| IViewHandler.ContainerView | (Inherited from ViewHandler) |
| IViewHandler.VirtualView | |