AppAction(String, String, String, String) Constructor
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.
Initializes a new instance of the AppAction class.
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)
Parameters
- id
- String
A unique identifier used to respond to the action tap.
- title
- String
The visible title to display on the app icon.
- subtitle
- String
If supported, a sub-title to display under the title.
- icon
- String
An icon that is shown next to the title.
Exceptions
Thrown when either id
or title
is null
.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.