WPF

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class RoutedCommand

    Show / Hide Table of Contents

    Class RoutedCommand

    Inheritance
    System.Object
    RoutedCommand
    Implements
    System.Windows.Input.ICommand
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    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 Description
    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 Description
    System.EventHandler

    Implements

    System.Windows.Input.ICommand
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved