我正在研究一个应用程序,试图去掌握Windows 8.我想为我的XAML表单添加一个GridSplitter
,但该控件似乎不可用。WinRT中的GridSplitter在哪里?
的XAML我已经是
<Page
x:Class="TweetiCon.BlankPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:TweetiCon">
<Grid Background="{StaticResource ApplicationPageBackgroundBrush}">
<Grid.ColumnDefinitions>
<ColumnDefinition/>
<ColumnDefinition Width="auto"/>
<ColumnDefinition/>
</Grid.ColumnDefinitions>
<GridSplitter Grid.Column="1" Orientation="Vertical"/>
</Grid>
</Page>
但GridSpliter
因素导致的应用程序不请编译,因为
名称GridSplitter不会在命名空间中http://schemas.microsoft.com/winfx/2006/xaml/presentation
但我很确定它确实。这正是在正常的WPF应用程序中。
我在做什么错?
谢谢! *诅咒微软* –