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