New to Telerik UI for WPFStart a free 30-day trial

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

Definition

Constructors

Initializes a new instance of the SuggestedAction class.

C#
public SuggestedAction(string text, ImageSource icon)
Parameters:textstringiconImageSource

Initializes a new instance of the SuggestedAction class.

C#
public SuggestedAction(string text)
Parameters:textstring

Properties

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

C#
public virtual ICommand Command { get; }

Icon

ImageSource

Gets or sets the displayed icon.

C#
public ImageSource Icon { get; set; }

Gets or sets the displayed text.

C#
public string Text { get; set; }