Basic Library for WPF and Silverlight | ComponentOne
C1.Silverlight Namespace / CommandExtensions Class / GetCommand Method
The element from which the property value is read.

In This Topic
    GetCommand Method
    In This Topic
    Gets the command that will be executed when the command source is invoked.
    Syntax
    'Declaration
     
    
    Public Shared Function GetCommand( _
       ByVal element As FrameworkElement _
    ) As Object
    public static object GetCommand( 
       FrameworkElement element
    )

    Parameters

    element
    The element from which the property value is read.

    Return Value

    The System.Windows.Input.ICommand property value for the element.
    See Also