New to Telerik UI for WinForms? Start a free 30-day trial

Stores a command's display text and name on a RoutedCommand.

This compatibility type does not implement command routing or execution; the inherited methods throw NotImplementedException.

Definition

Namespace:Telerik.WinControls.UI.Utilities.PlatformSpecific

Assembly:Telerik.WinControls.RadSpreadsheet.dll

Syntax:

C#
public class RoutedUICommand : RoutedCommand, ICommand

Inheritance: objectRoutedCommandRoutedUICommand

Implements: ICommand

Inherited Members RoutedCommand.CanExecute(object)RoutedCommand.Execute(object)RoutedCommand.CanExecuteChanged

Constructors

RoutedUICommand

C#
public RoutedUICommand()

RoutedUICommand

C#
public RoutedUICommand(string text, string name, Type ownerType)
Parameters:textstring

text

namestring

name

ownerTypeType

ownerType

The values are stored without validation; ownerType is accepted for compatibility but is not used.

Properties

Name

C#
public string Name { get; set; }

Text

C#
public string Text { get; set; }