Class SuggestedAction
Represents a class that wraps command logic for the suggested actions feature.
Inherited Members
Namespace: Telerik.Windows.Controls.ConversationalUI
Assembly: Telerik.Windows.Controls.ConversationalUI.dll
Syntax
public class SuggestedAction : ViewModelBase, INotifyPropertyChanged, IDisposable
Constructors
SuggestedAction(String)
Initializes a new instance of the SuggestedAction class.
Declaration
public SuggestedAction(string text)
Parameters
System.String
text
|
SuggestedAction(String, ImageSource)
Initializes a new instance of the SuggestedAction class.
Declaration
public SuggestedAction(string text, ImageSource icon)
Parameters
System.String
text
|
System.Windows.Media.ImageSource
icon
|
Properties
Command
Gets the command that is executed when the action is executed.
Declaration
public virtual ICommand Command { get; }
Property Value
System.Windows.Input.ICommand
|
Icon
Gets or sets the displayed icon.
Declaration
public ImageSource Icon { get; set; }
Property Value
System.Windows.Media.ImageSource
|
Text
Gets or sets the displayed text.
Declaration
public string Text { get; set; }
Property Value
System.String
|