menu

WPF

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

    Show / Hide Table of Contents

    Interface IGestureCommand

    Represents a gesturecommand hold and perform keyboard command actions.

    Namespace: Syncfusion.UI.Xaml.Diagram
    Assembly: Syncfusion.SfDiagram.WPF.dll
    Syntax
    public interface IGestureCommand

    Properties

    CanExecute

    Occurs when the CanExecute(IGestureParameter, bool) method on the Command is called.

    Declaration
    Func<IGestureParameter, bool> CanExecute { get; set; }
    Property Value
    Type
    System.Func<IGestureParameter, System.Boolean>

    Command

    Gets or sets the command to invoke when perform keyboard action.

    Declaration
    ICommand Command { get; set; }
    Property Value
    Type
    System.Windows.Input.ICommand

    Gesture

    Gets a sets the gesture to recognized movement by the user.

    Declaration
    IGesture Gesture { get; set; }
    Property Value
    Type
    IGesture

    Handled

    Gets or sets a encapsulates a method that has no parameters and returns a value of the boolean type specified by the parameter.

    Declaration
    Func<bool> Handled { get; set; }
    Property Value
    Type
    System.Func<System.Boolean>

    Name

    Gets or sets the name of the operation.

    Declaration
    string Name { get; set; }
    Property Value
    Type
    System.String

    Parameter

    Gets or sets the parameter to pass to the Command property.

    Declaration
    object Parameter { get; set; }
    Property Value
    Type
    System.Object
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved