Gets the command that will be executed when the command source is invoked.

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

Syntax

C#
public static Object GetCommand(
	FrameworkElement element
)
Visual Basic
Public Shared Function GetCommand ( _
	element As FrameworkElement _
) As Object

Parameters

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

Return Value

The ICommand property value for the element.

See Also