Exemple #1
0
 /// <summary>
 /// Handler for the OnInputUp event which forwards this event up as Pressed.
 /// </summary>
 public void OnInputUp(InputEventData eventData)
 {
     // Only trigger Released event if the input
     // source is the same as when it was pressed down.
     if (eventData.SourceId == InputSourceId)
     {
         Released.RaiseEvent();
     }
 }