Click here to Skip to main content
15,886,632 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hi all,

I've just started to play with Microsoft WPF Ribbon libraray (October 2010, 3.5.41019.1) which downloaded from http://www.microsoft.com/en-us/download/details.aspx?id=11877[^]

After install, it puts itself into VS 2012 toolbox. Then I create the app.

The source of XAML is:

XML
<r:RibbonWindow xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:r="http://schemas.microsoft.com/winfx/2006/xaml/presentation/ribbon" x:Class="WpfApplication1.MainWindow" Title="MainWindow" Height="480" Width="640">
    <DockPanel>
        <r:Ribbon DockPanel.Dock="Top" Title="Title...">
            <r:Ribbon.ApplicationMenu>
                <r:RibbonApplicationMenu>
                    <r:RibbonApplicationMenuItem />
                </r:RibbonApplicationMenu>
            </r:Ribbon.ApplicationMenu>
        </r:Ribbon>
    </DockPanel>
</r:RibbonWindow>


But as seen in the screenshot (http://imageshack.us/photo/my-images/29/25761938.png/[^]), window is not look like as in the examples; no menu near window icon. Ex: http://uxpassion.com/wp-content/uploads/2008/11/06_simple_ribbon_interface-625x468.png[^] But examples said, after putting ribbon only, I must see similiar window.

When I downloaded previous version (3.5.31016.1) everything is ok.

Is there a difference between two versions? Or, am I missing something?
Posted

1 solution

Hello,

have you set your window to RibbonWindow in code-behind too?
Like this:
C#
public partial class MainWindow : RibbonWindow



BTW: I tried the MS Ribbon myself too in the app I am currently developing.
Then I saw this control: Fluent Ribbon Ctrol Suite

It is free and much easier to use than the MS Ribbon.

Regards,
Max
 
Share this answer
 

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