如何在网格第0行中定义的折叠控制转到网格第1行中定义的另一个面板的顶部.....
<Grid x:Name="MainGrid" Background="White">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<toolkit:Accordion SelectionMode="ZeroOrOne"
Grid.Row="0">
<toolkit:AccordionItem Header='Pan Window'>
<toolkit:AccordionItem.Content>
........
</toolkit:AccordionItem.Content>
</toolkit:AccordionItem>
</toolkit:Accordion>
<Grid x:Name="LayoutRoot" Grid.Row="1">
...........
</Grid>
问题是我的Accordion控件打开但隐藏在LayoutRoot网格后面......
答案 0 :(得分:2)
您是否尝试将Canvas.ZIndex设置为大于其下方的网格?
<toolkit:Accordion SelectionMode="ZeroOrOne" Grid.Row="0" Canvas.ZIndex="1">