Gets the object that the command is being executed on.

Namespace:  C1.Silverlight
Assembly:  C1.Silverlight (in C1.Silverlight.dll)

Syntax

C#
public static UIElement GetCommandTarget(
	FrameworkElement element
)
Visual Basic
Public Shared Function GetCommandTarget ( _
	element As FrameworkElement _
) As UIElement

Parameters

element
Type: System.Windows..::..FrameworkElement
The element from which the property value is read.

Return Value

The object that the command is being executed on.

See Also