<Button x:Name="ButtonAddPolyline" Margin="2" Width="24" Height="24" ToolTipService.ToolTip="Add Polyline" Command="{Binding Add}" Tag="Polyline" Click="AddButton_Click">
Solved! Go to Solution.
<Button Command="{Binding Add}" Margin="2" ToolTipService.ToolTip="Fire" Content="Add Polygon"> <Button.CommandParameter> <sys:Int32>2</sys:Int32> </Button.CommandParameter> </Button>
<Button Command="{Binding Add}" Margin="2" ToolTipService.ToolTip="Fire" Content="Add Polygon"> <Button.CommandParameter> <sys:Int32>2</sys:Int32> </Button.CommandParameter> </Button>