Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
SiliconStudio.Presentation.Interactivity.Interaction Class Reference

A container for an attached dependency property that contains a collection of behavior. The purpose of this class is to be used in place of System.Windows.Interactivity.Interaction. This class allows to set behaviors in styles because SiliconStudio.Presentation.Interactivity.BehaviorCollection has a public parameterless constructor and the Behaviors attached property has a public setter. When the collection is modified or set, it automatically synchronize the attached property System.Windows.Interactivity.Interaction.Behaviors. More...

Static Public Member Functions

static BehaviorCollection GetBehaviors (DependencyObject obj)
 
static void SetBehaviors (DependencyObject obj, BehaviorCollection value)
 

Static Public Attributes

static readonly DependencyProperty BehaviorsProperty = DependencyProperty.RegisterAttached("Behaviors", typeof(BehaviorCollection), typeof(Interaction), new PropertyMetadata(new BehaviorCollection(), OnBehaviorCollectionChanged))
 

Detailed Description

A container for an attached dependency property that contains a collection of behavior. The purpose of this class is to be used in place of System.Windows.Interactivity.Interaction. This class allows to set behaviors in styles because SiliconStudio.Presentation.Interactivity.BehaviorCollection has a public parameterless constructor and the Behaviors attached property has a public setter. When the collection is modified or set, it automatically synchronize the attached property System.Windows.Interactivity.Interaction.Behaviors.

Definition at line 15 of file Interaction.cs.

Member Function Documentation

static BehaviorCollection SiliconStudio.Presentation.Interactivity.Interaction.GetBehaviors ( DependencyObject  obj)
static

Definition at line 19 of file Interaction.cs.

static void SiliconStudio.Presentation.Interactivity.Interaction.SetBehaviors ( DependencyObject  obj,
BehaviorCollection  value 
)
static

Definition at line 24 of file Interaction.cs.

Member Data Documentation

readonly DependencyProperty SiliconStudio.Presentation.Interactivity.Interaction.BehaviorsProperty = DependencyProperty.RegisterAttached("Behaviors", typeof(BehaviorCollection), typeof(Interaction), new PropertyMetadata(new BehaviorCollection(), OnBehaviorCollectionChanged))
static

Definition at line 17 of file Interaction.cs.


The documentation for this class was generated from the following file: