Represents an action item displayed in the RadPromptInputElement more button dropdown.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class PromptInputButtonAction : INotifyPropertyChanged
Inheritance: objectPromptInputButtonAction
Implements:
Constructors
Initializes a new instance of the PromptInputButtonAction class with the specified button text, icon, and action to execute when the button is pressed.
public PromptInputButtonAction(string text, Image icon, Action action)
The text to display on the button. Cannot be null.
iconImageThe icon image to display on the button. Can be null if no icon is desired.
actionActionThe action to execute when the button is clicked. Cannot be null.
Initializes a new instance of the PromptInputButtonAction class with the specified button text, icon, and action to execute when the button is pressed.
public PromptInputButtonAction(string text, RadSvgImage svgIcon, Action action)
The text to display on the button. Cannot be null.
svgIconRadSvgImageThe SVG icon to display on the button. Can be null if no icon is desired.
actionActionThe action to execute when the button is clicked. Cannot be null.
Properties
Gets or sets the action executed when the item is invoked.
public Action Action { get; set; }
Gets or sets the SVG icon for the action.
public RadSvgImage SvgIcon { get; set; }
Methods
Raises the PropertyChanged event.
Events
public event PropertyChangedEventHandler PropertyChanged
Implements: