Basic Library for WPF and Silverlight | ComponentOne
C1.Silverlight 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 FrameworkElement _
    ) As UIElement
    public static UIElement GetCommandTarget( 
       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