Dela via


DatePickerHandler Class

Definition

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

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

Constructors

Name Description
DatePickerHandler()
DatePickerHandler(IPropertyMapper, CommandMapper)
DatePickerHandler(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)
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)
MapCharacterSpacing(IDatePickerHandler, IDatePicker)

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

MapDate(IDatePickerHandler, IDatePicker)

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

MapFont(IDatePickerHandler, IDatePicker)

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

MapFormat(IDatePickerHandler, IDatePicker)

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

MapMaximumDate(IDatePickerHandler, IDatePicker)

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

MapMinimumDate(IDatePickerHandler, IDatePicker)

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

MapTextColor(IDatePickerHandler, IDatePicker)

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

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
IDatePickerHandler.PlatformView
IDatePickerHandler.VirtualView
IElementHandler.DisconnectHandler() (Inherited from ElementHandler)
IElementHandler.PlatformView (Inherited from ViewHandler<TVirtualView,TPlatformView>)
IElementHandler.VirtualView (Inherited from ViewHandler<TVirtualView,TPlatformView>)
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