menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class NavigationCommand - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class NavigationCommand

    Represents the class for navigation command of the control.

    Inheritance
    System.Object
    NavigationCommand
    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.Tools.Wpf.dll
    Syntax
    public class NavigationCommand : ICommand

    Constructors

    NavigationCommand(Action<Object>)

    Declaration
    public NavigationCommand(Action<object> executeAction)
    Parameters
    Type Name Description
    System.Action<System.Object> executeAction

    NavigationCommand(Action<Object>, Predicate<Object>)

    Declaration
    public NavigationCommand(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
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved