Click or drag to resize

InteractionGetBehaviourT Method

Get a behaviours in the BehaviourCollection associated with the specified object

Namespace:  Cauldron.XAML.Interactivity
Assembly:  Cauldron.Win32.WPF (in Cauldron.Win32.WPF.dll) Version: 3.2.0.1 (3.2.0.1)
Syntax
C#
public static T[] GetBehaviour<T>(
	DependencyObject dependencyObject
)
where T : IBehaviour

Parameters

dependencyObject
Type: System.WindowsDependencyObject
The DependencyObject from which to retrieve the BehaviourCollection.

Type Parameters

T
The type of the behaviour

Return Value

Type: T
An array of behaviours
See Also