我是windows phone 8开发的初学者,我需要创建一个标签系统(有点像Android上的slidingDrawer)。我解释一下自己,我已经实现了一个 xaml 接口,它看起来像这样:
http://img15.hostingpics.net/pics/974529onglet.png
这个接口的代码:
<StackPanel VerticalAlignment="top" Orientation="Horizontal" Height="402" Width="480">
<StackPanel Width="161" Margin="0,10,0,0" >
<StackPanel Height="50" Background="DarkCyan">
<TextBlock Height="50" Text="Qualité orale" Foreground="White" />
</StackPanel>
<StackPanel Height="50" >
<TextBlock Text="Compréhension" Foreground="White" />
</StackPanel>
<StackPanel Height="50">
<TextBlock Text="Général" Foreground="White"/>
</StackPanel>
<StackPanel Height="50">
<TextBlock Text="Fichiers relatifs" Foreground="White"/>
</StackPanel>
<StackPanel Height="50">
<TextBlock Text="Le conférencier" Foreground="White"/>
</StackPanel>
<StackPanel Height="50">
<TextBlock Text="Questions" Foreground="White"/>
</StackPanel>
</StackPanel>
我在这里想要做的是,当用户触摸堆栈面板时,堆栈面板会改变他的颜色,右侧的灰色内容也会改变。
你能帮我解决我的问题吗?
先感谢您