Method SetCommandParameter
SetCommandParameter(FrameworkElement, object)
Sets the command parameter associated with the control.
public static void SetCommandParameter(FrameworkElement item, object parameter)
Parameters
item
FrameworkElementThe control.
parameter
objectThe command parameter to associate with the control.