Share via


Click.SetCommandParameter Method

Sets the value for the CommandParameter attached property on the provided ButtonBase.

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

Syntax

public static void SetCommandParameter(
    ButtonBase buttonBase,
    Object parameter
)
'Declaration
Public Shared Sub SetCommandParameter ( _
    buttonBase As ButtonBase, _
    parameter As Object _
)

Parameters

See Also

Click Class

Microsoft.Practices.Prism.Commands Namespace