The ControlTemplate is causing the following error “The property 'Content' is set more than once”
问题 I'm just trying for the first time to use a ControlTemplate for a button that I want to create. However, as soon as I put the tag <ControlTemplate> anywhere, it is coming up with an error. <Window x:Class="MAQButtonTest.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="MainWindow" Height="695" Width="996"> <Grid> <Grid.ColumnDefinitions> <ColumnDefinition Width="300" /> <ColumnDefinition /> </Grid