ComponentOne Basic Library for UWP
C1.UWP Assembly / C1.Xaml Namespace / CommandExtensions Class / SetCommandTarget Method
The element to which the attached property is written.
The object that the command is being executed on.

In This Topic
    SetCommandTarget Method
    In This Topic
    Sets the object that the command is being executed on.
    Syntax
    'Declaration
     
    Public Shared Sub SetCommandTarget( _
       ByVal element As Windows.UI.Xaml.FrameworkElement, _
       ByVal value As Windows.UI.Xaml.UIElement _
    ) 
    public static void SetCommandTarget( 
       Windows.UI.Xaml.FrameworkElement element,
       Windows.UI.Xaml.UIElement value
    )

    Parameters

    element
    The element to which the attached property is written.
    value
    The object that the command is being executed on.
    See Also