Used System.Windows.Controls.Ribbon namespace and replaced Window on RibbonWindow in WpfTestApplication.