Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the BehaviorCollection associated with a specified object.
Namespace: Microsoft.Xaml.Interactivity
Assembly: Microsoft.Xaml.Interactivity (in Microsoft.Xaml.Interactivity.dll)
Syntax
'Declaration
Public Shared Sub SetBehaviors ( _
obj As DependencyObject, _
value As BehaviorCollection _
)
public static void SetBehaviors(
DependencyObject obj,
BehaviorCollection value
)
public:
static void SetBehaviors(
DependencyObject^ obj,
BehaviorCollection^ value
)
static member SetBehaviors :
obj:DependencyObject *
value:BehaviorCollection -> unit
public static function SetBehaviors(
obj : DependencyObject,
value : BehaviorCollection
)
Parameters
obj
Type: DependencyObjectThe DependencyObject on which to set the BehaviorCollection.
value
Type: Microsoft.Xaml.Interactivity.BehaviorCollectionThe BehaviorCollection associated with the object.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.