[英]Ribbon not showing in XAML
我如何獲得看起來像這樣的鏈接
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition/>
</Grid.RowDefinitions>
<Ribbon x:Name="RibbonWin" SelectedIndex="0">
</Ribbon>
</Grid>
我說錯了
The type 'Ribbon' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built.
我添加了Windows.System.Controls.Ribbon參考
我還添加了https://msdn.microsoft.com/zh-cn/library/6taasyc6(v=vs.80).aspx中記錄的參考路徑
我在Windows 8.1上將WPF與.Net Framework 4.5一起使用
該應用程序必須在Windows 7(及更高版本)上運行
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.