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

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

Syntax

C#
public static void SetCommand(
	FrameworkElement element,
	Object value
)
Visual Basic
Public Shared Sub SetCommand ( _
	element As FrameworkElement, _
	value As Object _
)

Parameters

element
Type: System.Windows..::..FrameworkElement
The element to which the attached property is written.
value
Type: System..::..Object
The needed ICommand value.

See Also