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
- buttonBase
Type: System.Windows.Controls.Primitives.ButtonBase
ButtonBase to attach CommandParameter
- parameter
Type: System.Object
Parameter value to attach