This project is read-only.

Customization of Ribbon window for modal form

Jan 3, 2011 at 11:48 AM
Edited Jan 3, 2011 at 11:53 AM

Hi ,


I have created the modal window using Fluent:RibbonWindow. 

In this window i want to show the help button. As i do not have any menu items so showing a help button in menu is not looking good .

So i to have updated the window code as follow as



 <Grid     Height="Auto" Width="auto">
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>

        <Fluent:Ribbon AutomaticStateManagement="True" x:Name="ribbon" Grid.Row="0"  IsEnabled="False" Height="20"
                       IsQuickAccessToolBarVisible="False" CanCustomizeRibbon="False"  IsMinimized="True"  >
        <Fluent:Button Size="Small" Icon="/Icons/Help.png" Margin="0,5,40,0" VerticalAlignment="Center"  HorizontalAlignment="Right">
                Title="Insert Chart"
                Text="Insert a chart to illustarate and compare data. &#xa;&#xa;Bar, Pie, Line, Area and Surface are same of the available types."
                DisableReason="Disable reason reason."
                IsRibbonAligned ="True"/>

<Fluent:Ribbon > Height is set to 20 pixels to show the header for the modal window and hide the minimize button of tab items.

Here help button will appear near to close button. Default is below the close button and in line with the tab items

So is it allowed as per the Microsoft ribbon control implementation ?