ClassPromptInputButtonAction
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
PromptInputButtonAction(string, Image, Action)
Initializes a new instance of the PromptInputButtonAction class with the specified button text, icon, and action to execute when the button is pressed.
Declaration
public PromptInputButtonAction(string text, Image icon, Action action)
Parameters
text
The text to display on the button. Cannot be null.
icon
The icon image to display on the button. Can be null if no icon is desired.
action
The action to execute when the button is clicked. Cannot be null.
PromptInputButtonAction(string, RadSvgImage, Action)
Initializes a new instance of the PromptInputButtonAction class with the specified button text, icon, and action to execute when the button is pressed.
Declaration
public PromptInputButtonAction(string text, RadSvgImage svgIcon, Action action)
Parameters
text
The text to display on the button. Cannot be null.
svgIcon
The SVG icon to display on the button. Can be null if no icon is desired.
action
The action to execute when the button is clicked. Cannot be null.
Properties
Action
Gets or sets the action executed when the item is invoked.
ImageIcon
Gets or sets the image icon for the action.
SvgIcon
Gets or sets the SVG icon for the action.
Methods
OnPropertyChanged(string)
Raises the PropertyChanged event.
Declaration
protected virtual void OnPropertyChanged(string propertyName)
Parameters
propertyName
Events
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Value
Implements