Basic Library for WPF and Silverlight | ComponentOne
C1.Silverlight 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 FrameworkElement, _
       ByVal value As UIElement _
    ) 
    public static void SetCommandTarget( 
       FrameworkElement element,
       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