Sets 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 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