Click here to Skip to main content
15,860,972 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I would like to use the ribbon I downloaded from codeplex and allow it to be in the title bar.

I do not use C# How do I do it?
Posted
Updated 22-Feb-11 7:28am
v2

1 solution

What did you download?

Did you download the Source Code and the binary files or did you just download the source or just the binaries?

If you downloaded the binaries, then you can add a reference to the dll in your application and then use it just like you would any other control.

If you only got the source then just load it as an additional project in your solution and you should then build the solution. After this you should be able to use the control in your VB project.
 
Share this answer
 
Comments
VB_ Coder 10-May-11 12:06pm    
I did figure out how to put it in by using the .dll, however, I cannot properly embed in title bar. You can visit guitarsoft.codeplex.com to see what I mean. That is my project. Thank you!
Henry Minute 10-May-11 14:44pm    
Judging by the most recent image, you seem to have the integration under control now.
VB_ Coder 10-May-11 15:01pm    
no, that is what i want to do. What i have as at guitarsoft.
Henry Minute 10-May-11 16:02pm    
I am not going to download all that code and try to read through it to find a possible problem.

You really must learn to accurately describe your problems and show example code which exhibits the problem.

What I will do is suggest the most common reason for this problem:

At the top of your xaml for the window with the ribbon, you will have something like:

<window x:class="WpfRibbonTest.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

change the "Window" reference for a "RibbonWindow" one like
<ribbon:RibbonWindow x:Class="WpfRibbonTest.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:ribbon="clr-namespace:Microsoft.Windows.Controls.Ribbon;assembly=RibbonControlsLibrary"

Note that it uses the same namespace that you assigned for the RibbonControlsLibrary (I have used 'ribbon')

Don't forget to modify the closing 'Window' tag too. Like this:
</ribbon:RibbonWindow>

Good luck.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900