Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
RoutingStrategy.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 namespace SiliconStudio.Paradox.UI.Events
4 {
5  /// <summary>
6  /// Indicates the routing strategy of a routed event.
7  /// </summary>
8  public enum RoutingStrategy
9  {
10  /// <summary>
11  /// The routed event uses a bubbling strategy, where the event instance routes upwards through the tree, from event source to root.
12  /// </summary>
13  Bubble,
14  /// <summary>
15  /// The routed event uses a tunneling strategy, where the event instance routes downwards through the tree, from root to source element.
16  /// </summary>
17  Tunnel,
18  /// <summary>
19  /// The routed event does not route through an element tree, but does support other routed event capabilities such as class handling.
20  /// </summary>
21  Direct,
22  }
23 }
The routed event uses a tunneling strategy, where the event instance routes downwards through the tre...
The routed event uses a bubbling strategy, where the event instance routes upwards through the tree...
RoutingStrategy
Indicates the routing strategy of a routed event.