AppAction(String, String, String, String) コンストラクター

定義

AppAction クラスの新しいインスタンスを初期化します。

public AppAction(string id, string title, string? subtitle = default, string? icon = default);
new Microsoft.Maui.ApplicationModel.AppAction : string * string * string * string -> Microsoft.Maui.ApplicationModel.AppAction
Public Sub New (id As String, title As String, Optional subtitle As String = Nothing, Optional icon As String = Nothing)

パラメーター

id
String

アクション タップに応答するために使用される一意識別子。

title
String

アプリ アイコンに表示する表示タイトル。

subtitle
String

サポートされている場合は、タイトルの下に表示するサブタイトル。

icon
String

タイトルの横に表示されるアイコン。

例外

または が のid場合にnullスローtitleされます。

適用対象