我是 windows phone 7 的新手。我正在为 windows phone 7 制作一个在 silverlight 中制作圆角按钮的示例。我实现了圆角。但它没有显示按钮的内容。我的代码有什么问题?请帮我。
现在我的按钮看起来像这样。里面没有文字。
我在下面发布了我的代码。
谢谢。
主页.xaml
 <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
        <StackPanel VerticalAlignment="Center">
            <Button Width="200" Height="80" Content="Click Me" Style="{StaticResource myCustomButtonStyle}" >
                </Button>
        </StackPanel>
    </Grid>
ButtonResourceDictionary.xaml
 <LinearGradientBrush x:Key="myCustomButtonColor" EndPoint="0.5,1" StartPoint="0.5,0">
    <GradientStop Color="#FF296180" Offset="0.589"/>
    <GradientStop Color="#FF5BC0F3"/>
</LinearGradientBrush>
<Style x:Name="myCustomButtonStyle" TargetType="Button">
    <Setter Property="BorderThickness" Value="0"></Setter>
    <Setter Property="Template">
        <Setter.Value>
            <ControlTemplate TargetType="Button">
                <Border x:Name="buttonBorder" Background="{StaticResource myCustomButtonColor}" CornerRadius="12"></Border>
            </ControlTemplate>
        </Setter.Value>
    </Setter>
</Style>