Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
CancelRoutedEvent.cs
Go to the documentation of this file.
1 // Copyright (c) 2014 Silicon Studio Corp. (http://siliconstudio.co.jp)
2 // This file is distributed under GPL v3. See LICENSE.md for details.
3 using System.Windows;
4 
5 namespace SiliconStudio.Presentation.Core
6 {
8  {
9  public bool Cancel { get; set; }
10 
11  public CancelRoutedEventArgs(RoutedEvent routedEvent, bool cancel = false)
12  : base(routedEvent)
13  {
14  Cancel = cancel;
15  }
16  }
17 
18  public delegate void CancelRoutedEventHandler(object sender, CancelRoutedEventArgs e);
19 }
CancelRoutedEventArgs(RoutedEvent routedEvent, bool cancel=false)
delegate void CancelRoutedEventHandler(object sender, CancelRoutedEventArgs e)