Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
ValidationRoutedEvent.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 object Value { get; private set; }
10 
11  public ValidationRoutedEventArgs(RoutedEvent routedEvent, object value)
12  : base(routedEvent)
13  {
14  Value = value;
15  }
16  }
17 
19  {
20  public new T Value { get { return (T)base.Value; } }
21 
22  public ValidationRoutedEventArgs(RoutedEvent routedEvent, T value)
23  : base(routedEvent, value)
24  {
25  }
26  }
27 
28  public delegate void ValidationRoutedEventHandler(object sender, ValidationRoutedEventArgs e);
29 
30  public delegate void ValidationRoutedEventHandler<T>(object sender, ValidationRoutedEventArgs<T> e);
31 }
ValidationRoutedEventArgs(RoutedEvent routedEvent, object value)
delegate void ValidationRoutedEventHandler< T >(object sender, ValidationRoutedEventArgs< T > e)
delegate void ValidationRoutedEventHandler(object sender, ValidationRoutedEventArgs e)