按钮 “playsound” 显示细腻本身,但每当我添加 “按钮2” 我得到以下错误:2个按钮在XAML WP8手机:PivotItem
Property content is set more than once.
和
在我的设计Invalid Markup.
视图。我如何在透视中获得多个按钮?
<phone:PivotItem CacheMode="{x:Null}" Header="Audio" Margin="41,30,8,-58">
<Button x:Name="button2" Margin="61,301,0,0" Content="hello" Height="22" Width="33"></Button>
<Button x:Name="playsound" HorizontalAlignment="Left" Margin="61,451,0,0"
VerticalAlignment="Top" Height="109" Width="256">
<Grid Height="138" Width="293" RenderTransformOrigin="0.349,0.43">
<Grid.ColumnDefinitions>
<ColumnDefinition Width ="110"/>
<ColumnDefinition Width ="110"/>
</Grid.ColumnDefinitions>
<TextBlock Grid.Column="0" Margin="0,0,0,68">
<Run Text="יום ראשון "/>
<Run Text="Sunday"/>
</TextBlock>
<TextBlock Grid.Column="1" Margin="0,0,0,68">
<Run Text="פרק כד "/>
<Run Text="Psalm 24"/>
</TextBlock>
</Grid>
</Button>
</phone:PivotItem>
窝在StackPanel中,BRO(两个按钮: –