【发布时间】:2012-04-28 15:12:00
【问题描述】:
我有一个位于画布中的扩展器,想要向上扩展它,但它的切换按钮在打开时向下移动。问题是什么,这是我的代码:
<Canvas Grid.Row="0" Panel.ZIndex="99" Width="20" Height="20" >
<Expander
HorizontalAlignment="Left"
VerticalAlignment="Bottom"
ExpandDirection="Up">
<Grid>
<Button x:Name="btn1" Content="hhhh" Height="200" ></Button>
</Grid>
</Expander>
</Canvas>
【问题讨论】:
-
@LPL:谢谢,但我以前见过,这不是我需要的。
标签: wpf wpf-controls expander