ComponentOne Basic Library for UWP
C1.UWP Assembly / C1.Xaml 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 Windows.UI.Xaml.FrameworkElement _
    ) As System.Object
    public static System.object GetCommand( 
       Windows.UI.Xaml.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