Class
SuggestedAction

Represents a class that wraps command logic for the suggested actions feature.

Definition

Constructors

SuggestedAction(string)

Initializes a new instance of the SuggestedAction class.

Declaration

cs-api-definition
public SuggestedAction(string text)

Parameters

text

string

SuggestedAction(string, ImageSource)

Initializes a new instance of the SuggestedAction class.

Declaration

cs-api-definition
public SuggestedAction(string text, ImageSource icon)

Parameters

text

string

icon

ImageSource

Properties

Command

Gets the command that is executed when the action is executed.

Declaration

cs-api-definition
public virtual ICommand Command { get; }

Property Value

ICommand

Icon

Gets or sets the displayed icon.

Declaration

cs-api-definition
public ImageSource Icon { get; set; }

Property Value

ImageSource

Text

Gets or sets the displayed text.

Declaration

cs-api-definition
public string Text { get; set; }

Property Value

string