Method SetCommandParameter
SetCommandParameter(FrameworkElement, object)
Sets the command parameter associated with the specified framework element.
public static void SetCommandParameter(FrameworkElement treeView, object parameter)
Parameters
treeViewFrameworkElementThe framework element.
parameterobjectThe command parameter to associate with the framework element.