ComponentOne Basic Library for UWP
C1.UWP Assembly / C1.Xaml Namespace / CommandExtensions Class / GetCommandTarget Method
The element from which the property value is read.

In This Topic
    GetCommandTarget Method
    In This Topic
    Gets the object that the command is being executed on.
    Syntax
    'Declaration
     
    Public Shared Function GetCommandTarget( _
       ByVal element As Windows.UI.Xaml.FrameworkElement _
    ) As Windows.UI.Xaml.UIElement
    public static Windows.UI.Xaml.UIElement GetCommandTarget( 
       Windows.UI.Xaml.FrameworkElement element
    )

    Parameters

    element
    The element from which the property value is read.

    Return Value

    The object that the command is being executed on.
    See Also