I'm running a sample app that demonstrates the WPF Ribbon -- straight from the textbook -- the app runs fine when I build and run it, but I am seeing an error line (blue squiggle line) in the xaml markup that says
Error -- <r:RibbonWindow x:Class="Ribbon.MainWindow" -- does not exist in the namespace ...
In design view -- for the app window it says "Invalid Markup". I am not familiar with this notation
<r:RibbonWindow x:Class="Ribbon.MainWindow" ...
and request any suggestions how I can make this error message disappear so I can see the design view of the app's window. My guess is that <r:... represents a resource, so how can I see the app window in design view? Below is a picture of the xaml error and below that is the actual xaml markup. Thanks in advance
<r:RibbonWindow x:Class="Ribbon.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="MainWindow" Height="350" Width="525" xmlns:r="clr-namespace:Microsoft.Windows.Controls.Ribbon;assembly=RibbonControlsLibrary"><r:RibbonWindow.Resources><ResourceDictionary><RoutedUICommand x:Key="SaveCommand" Text="Save" /><RoutedUICommand x:Key="SaveAsCommand" /></ResourceDictionary></r:RibbonWindow.Resources><Grid><Grid.RowDefinitions><RowDefinition Height="Auto"></RowDefinition><RowDefinition></RowDefinition></Grid.RowDefinitions> <r:Ribbon x:Name="ribbon"><r:Ribbon.ApplicationMenu><r:RibbonApplicationMenu SmallImageSource="images\window2.png" AuxiliaryPaneContent="Test"> <r:RibbonApplicationMenuItem Header="New" ToolTipTitle="Application Menu" ImageSource="images\window2.png" /> <r:RibbonApplicationMenuItem Header="_Save" ImageSource="images\save.png" /> <r:RibbonApplicationMenuItem Command="{StaticResource SaveAsCommand}"></r:RibbonApplicationMenuItem><r:RibbonApplicationMenuItem Command="{StaticResource SaveCommand}"></r:RibbonApplicationMenuItem></r:RibbonApplicationMenu></r:Ribbon.ApplicationMenu><r:RibbonTab Header="Home"><r:RibbonGroup Header="Clipboard"><r:RibbonButton Label="Cut" SmallImageSource="images/cut.png" LargeImageSource="images/cut.png" /><r:RibbonButton Label="Copy" SmallImageSource="images/copy.png" LargeImageSource="images/copy.png" /><r:RibbonButton Label="Paste" SmallImageSource="images/paste.png" LargeImageSource="images/paste.png" /></r:RibbonGroup> <r:RibbonGroup><r:RibbonButton Label="Save" LargeImageSource="images\save.png" SmallImageSource="images\save_small.png"/><r:RibbonButton Label="Save" LargeImageSource="images\save.png" SmallImageSource="images\save_small.png"/><r:RibbonButton Label="Save" LargeImageSource="images\save.png" SmallImageSource="images\save_small.png"/><r:RibbonButton Label="Save" LargeImageSource="images\save.png" SmallImageSource="images\save_small.png"/><r:RibbonButton Label="Save" LargeImageSource="images\save.png" SmallImageSource="images\save_small.png"/><r:RibbonButton Label="Save" LargeImageSource="images\save.png" SmallImageSource="images\save_small.png"/><r:RibbonButton Label="Save" LargeImageSource="images\save.png" SmallImageSource="images\save_small.png"/><r:RibbonButton Label="Save" LargeImageSource="images\save.png" SmallImageSource="images\save_small.png"/><r:RibbonButton Label="Save" LargeImageSource="images\save.png" SmallImageSource="images\save_small.png"/><r:RibbonButton Label="Save" LargeImageSource="images\save.png" SmallImageSource="images\save_small.png"/><r:RibbonButton Label="Save" LargeImageSource="images\save.png" SmallImageSource="images\save_small.png"/><r:RibbonButton Label="Save" LargeImageSource="images\save.png" SmallImageSource="images\save_small.png"/><r:RibbonButton Label="Save" LargeImageSource="images\save.png" SmallImageSource="images\save_small.png"/></r:RibbonGroup> </r:RibbonTab></r:Ribbon></Grid></r:RibbonWindow>
Rich P