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

 

<Fluent:RibbonWindow>

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

        </Grid.RowDefinitions>
        <Fluent:Ribbon AutomaticStateManagement="True" x:Name="ribbon" Grid.Row="0"  IsEnabled="False" Height="20"
                       IsQuickAccessToolBarVisible="False" CanCustomizeRibbon="False"  IsMinimized="True"  >
            </Fluent:Ribbon>
        <Fluent:Button Size="Small" Icon="/Icons/Help.png" Margin="0,5,40,0" VerticalAlignment="Center"  HorizontalAlignment="Right">
            <Fluent:Button.ToolTip>
                <Fluent:ScreenTip
                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."
             
                HelpTopic="http:\\fluent.codeplex.com"
                DisableReason="Disable reason reason."
                Width="190"
                IsRibbonAligned ="True"/>
            </Fluent:Button.ToolTip>
        </Fluent:Button>

 
</Fluent:RibbonWindow>
<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 ?