c# - Ribbon not showing in XAML -


how can link looks this

<grid>     <grid.rowdefinitions>         <rowdefinition height="auto"/>         <rowdefinition/>     </grid.rowdefinitions>     <ribbon x:name="ribbonwin"  selectedindex="0">                   </ribbon>         </grid> 

i error saying

the type 'ribbon' not found. verify not missing assembly reference , referenced assemblies have been built. 

i added windows.system.controls.ribbon reference

i've added reference path documented on https://msdn.microsoft.com/en-us/library/6taasyc6(v=vs.80).aspx

i using wpf .net framework 4.5 on windows 8.1

the application must run on windows 7 (and higher)

you'll need add ribbon control toolbox in vs2015, drag-and-drop ribbon-associated controls (e.g. ribbon tab, ribbon group, ribbon button, etc) toolbox previously-added ribbon in mainwindow.xaml form @ design-time.

to add ribbon control toolbox in vs2015, right-click within toolbox in vs2015 (with project opened), select choose items... option bring choose toolbox items dialog window (as depicted in screenshot below), select wpf components tab, scroll down , check options pertain ribbon controls add them toolbox when click on ok.

screenshot of choose toolbox items dialog window: screenshot of *choose toolbox items* dialog window


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -