Class RoutedCommand
Inheritance
System.Object
RoutedCommand
Implements
System.Windows.Input.ICommand
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Tools.Controls
Assembly: Syncfusion.RichTextRibbon.WPF.dll
Syntax
public class RoutedCommand : ICommand
Constructors
RoutedCommand(Action<Object>)
Declaration
public RoutedCommand(Action<object> executeAction)
Parameters
Type | Name | Description |
---|---|---|
System.Action<System.Object> | executeAction |
RoutedCommand(Action<Object>, Predicate<Object>)
Declaration
public RoutedCommand(Action<object> executeAction, Predicate<object> canExecute)
Parameters
Type | Name | Description |
---|---|---|
System.Action<System.Object> | executeAction | |
System.Predicate<System.Object> | canExecute |
Methods
CanExecute(Object)
Declaration
public bool CanExecute(object parameter)
Parameters
Type | Name | Description |
---|---|---|
System.Object | parameter |
Returns
Type |
---|
System.Boolean |
Execute(Object)
Declaration
public void Execute(object parameter)
Parameters
Type | Name | Description |
---|---|---|
System.Object | parameter |
UpdateCanExecute()
Declaration
public void UpdateCanExecute()
Events
CanExecuteChanged
Declaration
public event EventHandler CanExecuteChanged
Event Type
Type |
---|
System.EventHandler |
Implements
System.Windows.Input.ICommand