ButtonHandler 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
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
- 繼承
- 實作
建構函式
| 名稱 | Description |
|---|---|
| ButtonHandler() | |
| ButtonHandler(IPropertyMapper, CommandMapper) | |
| ButtonHandler(IPropertyMapper) | |
欄位
| 名稱 | Description |
|---|---|
| CommandMapper | |
| ImageButtonMapper | |
| Mapper | |
| TextButtonMapper | |
屬性
| 名稱 | Description |
|---|---|
| ContainerView |
取得作為容器 PlatformView的視圖。 (繼承來源 ViewHandler) |
| HasContainer |
取得或設定一個值,指示是否 PlatformView 包含在視圖中。 (繼承來源 ViewHandler) |
| ImageSourceLoader | |
| MauiContext | (繼承來源 ElementHandler) |
| NeedsContainer |
會得到一個值,指示是否 VirtualView 需要容器視圖。 (繼承來源 ViewHandler) |
| PlatformView | (繼承來源 ViewHandler<TVirtualView,TPlatformView>) |
| Services | (繼承來源 ElementHandler) |
| VirtualView | (繼承來源 ViewHandler<TVirtualView,TPlatformView>) |