【发布时间】:2012-11-13 17:40:53
【问题描述】:
我有一个 WPF MVVM 应用程序,其中 ScrollViewer 包含一个带有多个扩展器的用户控件
<UserControl>
<Expander>
<Grid>
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition />
...
</Grid.RowDefinitions>
<Expander Grid.Row="0" />
<Expander Grid.Row="1" />
...
</Grid>
</Expander>
</UserControl>
如何使展开的 Expander 滚动到视图中,使其内容可见?
【问题讨论】:
-
你试过给它一个标题吗?