ButtonHandler Klasa
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
public ref class ButtonHandler : Microsoft::Maui::Handlers::ViewHandler<Microsoft::Maui::IButton ^, System::Object ^>, Microsoft::Maui::Handlers::IButtonHandler
public class ButtonHandler : Microsoft.Maui.Handlers.ViewHandler<Microsoft.Maui.IButton,object>, Microsoft.Maui.Handlers.IButtonHandler
type ButtonHandler = class
inherit ViewHandler<IButton, obj>
interface IButtonHandler
interface IViewHandler
interface IElementHandler
Public Class ButtonHandler
Inherits ViewHandler(Of IButton, Object)
Implements IButtonHandler
- Dziedziczenie
- Implementuje
Konstruktory
| ButtonHandler() | |
| ButtonHandler(IPropertyMapper, CommandMapper) | |
| ButtonHandler(IPropertyMapper) |
Pola
| CommandMapper | |
| ImageButtonMapper | |
| Mapper | |
| TextButtonMapper |
Właściwości
| ContainerView |
Pobiera widok, który działa jako kontener dla .PlatformView (Odziedziczone po ViewHandler) |
| HasContainer |
Pobiera lub ustawia wartość wskazującą, czy element PlatformView znajduje się w widoku. (Odziedziczone po ViewHandler) |
| ImageSourceLoader | |
| MauiContext | (Odziedziczone po ElementHandler) |
| NeedsContainer |
Pobiera wartość wskazującą, czy VirtualView wymagany jest widok kontenera. (Odziedziczone po ViewHandler) |
| PlatformView | (Odziedziczone po ViewHandler<TVirtualView,TPlatformView>) |
| Services | (Odziedziczone po ElementHandler) |
| VirtualView | (Odziedziczone po ViewHandler<TVirtualView,TPlatformView>) |
Metody
Jawne implementacje interfejsu
| IButtonHandler.PlatformView | |
| IButtonHandler.VirtualView | |
| IElementHandler.DisconnectHandler() | (Odziedziczone po ElementHandler) |
| IElementHandler.PlatformView | (Odziedziczone po ViewHandler<TVirtualView,TPlatformView>) |
| IElementHandler.VirtualView | (Odziedziczone po ViewHandler<TVirtualView,TPlatformView>) |
| IViewHandler.ContainerView | (Odziedziczone po ViewHandler) |
| IViewHandler.VirtualView | (Odziedziczone po ViewHandler<TVirtualView,TPlatformView>) |