src/FingersDance.GestureControl/GestureRoutedEventArgs.cs
author cavaliet
Tue, 24 Nov 2009 11:35:07 +0100
changeset 225 b60e13ed75c8
parent 193 96374d03e714
permissions -rw-r--r--
Now an annotation has a list of gesture string and not simple gesture string. These are saved into and loaded from the ldt xml file.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Input;
using System.Windows;

namespace GestureControl
{
    /// <summary>
    /// Gesture event who return a object with a Gesture String value
    /// </summary>
    public class GestureRoutedEventArgs : RoutedEventArgs
    {
        public Gesture Gesture { get; private set; }

        public GestureRoutedEventArgs() : base() { }
        public GestureRoutedEventArgs(Gesture gesture) : base() { this.Gesture = gesture; }
        public GestureRoutedEventArgs(RoutedEvent routedEvent) : base(routedEvent) { }
        public GestureRoutedEventArgs(RoutedEvent routedEvent, Gesture gesture) : base(routedEvent) { this.Gesture = gesture; }
        public GestureRoutedEventArgs(RoutedEvent routedEvent, Object source) : base(routedEvent, source) { }
        public GestureRoutedEventArgs(RoutedEvent routedEvent, Object source, Gesture gesture) : base(routedEvent, source) { this.Gesture = gesture; }
    }
}