Gets the object that the command is being executed on.

Namespace:  C1.Phone
Assembly:  C1.Phone (in C1.Phone.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