Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VB9.0
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 22-Feb-11 8:15am
Edited 22-Feb-11 8:28am
Henry Minute223.8K
v2

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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.
  Permalink  
Comments
VB_ Coder at 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 at 10-May-11 14:44pm
   
Judging by the most recent image, you seem to have the integration under control now.
VB_ Coder at 10-May-11 15:01pm
   
no, that is what i want to do. What i have as at guitarsoft.
Henry Minute at 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)

  Print Answers RSS
0 OriginalGriff 381
1 Sergey Alexandrovich Kryukov 265
2 Praneet Nadkar 237
3 Marcin Kozub 225
4 /\jmot 189
0 OriginalGriff 8,284
1 Sergey Alexandrovich Kryukov 7,407
2 DamithSL 5,614
3 Maciej Los 4,989
4 Manas Bhardwaj 4,986


Advertise | Privacy | Mobile
Web03 | 2.8.1411023.1 | Last Updated 22 Feb 2011
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100