WPF

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GestureCommand - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class GestureCommand

    Inheritance
    System.Object
    GestureCommand
    Implements
    IGestureCommand
    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.UI.Xaml.Diagram
    Assembly: Syncfusion.SfDiagram.WPF.dll
    Syntax
    public class GestureCommand : IGestureCommand

    Constructors

    GestureCommand()

    Initializes a new instance of the GestureCommand class.

    Declaration
    public GestureCommand()

    Properties

    CanExecute

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

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

    Command

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

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

    Gesture

    Declaration
    public IGesture Gesture { get; set; }
    Property Value
    Type Description
    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
    public Func<bool> Handled { get; set; }
    Property Value
    Type Description
    System.Func<System.Boolean>

    Name

    Gets or sets the name of the operation.

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

    Parameter

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

    Declaration
    public object Parameter { get; set; }
    Property Value
    Type Description
    System.Object

    Implements

    IGestureCommand
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved