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