我是新手 C# (WPF),我学习如何使用 Ribbon Control。
这是错误消息在类型“RibbonTab”中找不到属性“标签”,这是代码:
<r:RibbonWindow x:Class="WpfApplication2.Editor"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:r="clr-namespace:Microsoft.Windows.Controls.Ribbon;assembly=RibbonControlsLibrary"
mc:Ignorable="d" >
<Grid x:Name="LayoutRoot">
<r:Ribbon Title="WPF Ribbon - Document 1" x:Name="ribbon" />
<r:RibbonTab Label="Home"/>
<r:RibbonTab Label="Insert"/>
<r:RibbonTab Label="Help"/>
</Grid>