Gets 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 ICommand GetCommand( DependencyObject obj ) |
Visual Basic |
---|
Public Shared Function GetCommand ( _ obj As DependencyObject _ ) As ICommand |
Visual C++ |
---|
public: static ICommand^ GetCommand( DependencyObject^ obj ) |
Parameters
- obj
- Type: System.Windows..::..DependencyObject
The element from which to read the property value.