src/FingersDance.GestureControl/GestureRoutedEventArgs.cs
changeset 176 0896f36b9d57
child 193 96374d03e714
equal deleted inserted replaced
175:1d4b6d6474d5 176:0896f36b9d57
       
     1 using System;
       
     2 using System.Collections.Generic;
       
     3 using System.Linq;
       
     4 using System.Text;
       
     5 using System.Windows.Input;
       
     6 using System.Windows;
       
     7 
       
     8 namespace GestureControl
       
     9 {
       
    10     /// <summary>
       
    11     /// Gesture event who return a object with a Gesture String value
       
    12     /// </summary>
       
    13     public class GestureRoutedEventArgs : RoutedEventArgs
       
    14     {
       
    15         public String Gesture { get; private set; }
       
    16 
       
    17         public GestureRoutedEventArgs() : base() { }
       
    18         public GestureRoutedEventArgs(String gesture) : base() { this.Gesture = gesture; }
       
    19         public GestureRoutedEventArgs(RoutedEvent routedEvent) : base(routedEvent) { }
       
    20         public GestureRoutedEventArgs(RoutedEvent routedEvent, String gesture) : base(routedEvent) { this.Gesture = gesture; }
       
    21         public GestureRoutedEventArgs(RoutedEvent routedEvent, Object source) : base(routedEvent, source) { }
       
    22         public GestureRoutedEventArgs(RoutedEvent routedEvent, Object source, String gesture) : base(routedEvent, source) { this.Gesture = gesture; }
       
    23     }
       
    24 }