Basic setup

To setup the required resources you first have to add the following code to your App.xaml:

    <!-- Attach default Theme -->
    <ResourceDictionary Source="pack://application:,,,/Fluent;Component/Themes/Generic.xaml" />

After you have added the required resources you can start creating your first window containing a ribbon by creating a new window and then change the xaml code of that windo to the following. You can fully reuse the provided code if you name your window “MyFirstWindow” and your project “MyFirstRibbonProject”. If you happen to choose different names you have to adjust the names “MyFirstRibbonProject” and “MyFirstWindow” to your desired names.

<Fluent:RibbonWindow x:Class="MyFirstRibbonProject.MyFirstWindow"
                     Title="My first RibbonWindow" 
                     Height="600" >

Code behind for the window:

namespace MyFirstRibbonProject
    /// <summary>
    /// Represents the main window of the application
    /// </summary>
    public partial class MyFirstWindow
        /// <summary>
        /// Default constructor
        /// </summary>
        public Window()

Now that you have setup the window you can start adding the ribbon itself:

    <Fluent:RibbonTabItem Header="Home">
        <Fluent:RibbonGroupBox Header="Group">
            <Fluent:Button Header="Green"
                           LargeIcon="Images\GreenLarge.png" />
            <Fluent:Button Header="Grey" 
                           LargeIcon="Images\GrayLarge.png" />