Share via


Click.SetCommand Method

Sets the ICommand to execute on the click event.

Namespace:  Microsoft.Practices.Prism.Commands
Assembly:  Microsoft.Practices.Prism (in Microsoft.Practices.Prism.dll)

Syntax

public static void SetCommand(
    ButtonBase buttonBase,
    ICommand command
)
'Declaration
Public Shared Sub SetCommand ( _
    buttonBase As ButtonBase, _
    command As ICommand _
)

Parameters

See Also

Click Class

Microsoft.Practices.Prism.Commands Namespace