Method SetCommandParameter
SetCommandParameter(ButtonBase, object)
Sets the value of the CommandParameter attached property to the specified ButtonBase.
public static void SetCommandParameter(ButtonBase target, object value)
Parameters
target
ButtonBaseThe ButtonBase to set the value for.
value
objectThe value to set for the CommandParameter attached property.