Sets the value of the Command attached property for a given DependencyObject.
Namespace: Mindscape.SilverlightElementsAssembly: Mindscape.SilverlightElements (in Mindscape.SilverlightElements.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
C# |
---|
public static void SetCommand( DependencyObject obj, ICommand value ) |
Visual Basic |
---|
Public Shared Sub SetCommand ( _ obj As DependencyObject, _ value As ICommand _ ) |
Visual C++ |
---|
public: static void SetCommand( DependencyObject^ obj, ICommand^ value ) |
Parameters
- obj
- Type: System.Windows..::..DependencyObject
The element on which to set the property value.
- value
- Type: System.Windows.Input..::..ICommand
The value to which to set the property.