Class
RoutedUICommand

Defines an ICommand that is routed through the element tree and contains a text property.

Definition

Namespace:Telerik.UI.Xaml.Controls

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
[TypeConverter(typeof(CommandConverter))]
public class RoutedUICommand : RoutedCommand, ICommand

Inheritance: objectRoutedCommandRoutedUICommand

Implements: ICommand

Inherited Members RoutedCommand.CanExecute(object, UIElement)RoutedCommand.Execute(object, UIElement)RoutedCommand.InputGesturesRoutedCommand.NameRoutedCommand.OwnerTypeRoutedCommand.CanExecuteChanged

Constructors

RoutedUICommand()

Initializes a new instance of the RoutedUICommand class.

Declaration

cs-api-definition
protected RoutedUICommand()

RoutedUICommand(string, string, Type)

Initializes a new instance of the RoutedUICommand class.

Declaration

cs-api-definition
public RoutedUICommand(string text, string name, Type ownerType)

Parameters

text

string

The text.

name

string

The name.

ownerType

Type

Type of the owner.

RoutedUICommand(string, string, Type, InputGestureCollection)

Initializes a new instance of the RoutedUICommand class.

Declaration

cs-api-definition
public RoutedUICommand(string text, string name, Type ownerType, InputGestureCollection inputGestures)

Parameters

text

string

The text.

name

string

The name.

ownerType

Type

Type of the owner.

inputGestures

InputGestureCollection

The input gestures.

Properties

Text

Gets or sets the text that describes this command.

Declaration

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

Property Value

string

The text.