No window Title

Dec 21, 2010 at 9:20 PM

Hello,

Thanks very much for a great tool.  We are using fluent ribbon with prism and encounter two problems 

1)  No Window title Bar(No title, No Min, Max, Close buttons) when the application starts. It repaints this area when you deactivate and activate this window or when you hover mouse on that area.

2) Random error when switching between open windows when ribbon is maximizes.

Coordinator
Dec 22, 2010 at 10:16 AM

We would like to see a screenshot.

Daniel

Dec 22, 2010 at 12:03 PM

Hello,

I've got the similar problem - there is <Fluent:RibbonWindow Title="My Title"> and if there is no <Fluent:Ribbon>inside - the window doesn't have any title displayed at all. If I add Fluent:Ribbon to that window - the Title starts displaying. The purpose of having RibbonWindow without Ribbon in my case is to have all modal dialogs to look the same style as the main window.

Thanks!

Dec 22, 2010 at 5:45 PM
Edited Dec 22, 2010 at 5:46 PM
daVinci wrote:

We would like to see a screenshot.

Daniel

 

Thanks for your replay. I don't see any thing to attach files.   How do I attach file in this discussion?

Dec 22, 2010 at 5:49 PM

Thanks very much for reply,  I am using fluent ribbon inside RibbonWindow


<Fluent:RibbonWindow
	x:Class="FDC.Shell.Views.FDCShell"
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"	
	xmlns:cal="clr-namespace:Microsoft.Practices.Composite.Presentation.Regions;assembly=Microsoft.Practices.Composite.Presentation"
	xmlns:igDock="clr-namespace:Infragistics.Windows.DockManager;assembly=Infragistics3.Wpf.DockManager.v10.1"
	xmlns:Fluent="clr-namespace:Fluent;assembly=Fluent"
	xmlns:extToolkit="clr-namespace:Microsoft.Windows.Controls;assembly=WPFToolkit.Extended"
	Icon="/FDC.Shell;component/Images/BJLogoOnly.jpg"
	Title="{Binding ShellWindowTitle, Mode=OneWay}"
    IsEnabled="{Binding IsEnabled}"	
	FontSize="14"
	Closing="RibbonWindowClosing"
     KeyUp="KeyUpEventHandler"
    >



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

        <Fluent:Ribbon   x:Name="ribbon" Grid.Row="0" >

        <Fluent:Ribbon.Menu>
            <Fluent:Backstage x:Name="backStage">
                <Fluent:BackstageTabControl>

                    <Fluent:BackstageTabItem Header="New">
                        <ContentControl Grid.Column="0" Grid.Row="0" cal:RegionManager.RegionName="BackstageRegionNew" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" />
                    </Fluent:BackstageTabItem>

                    <Fluent:BackstageTabItem Header="Open">
                        <ContentControl Grid.Column="0" Grid.Row="0" cal:RegionManager.RegionName="BackstageRegionOpen" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" />
                    </Fluent:BackstageTabItem>

                    <Fluent:BackstageTabItem Header="Upload Download">
                        <ContentControl Grid.Column="0" Grid.Row="0" cal:RegionManager.RegionName="UploadDownloadRegion" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" />
                    </Fluent:BackstageTabItem>

                </Fluent:BackstageTabControl>
            </Fluent:Backstage>
        </Fluent:Ribbon.Menu>
    </Fluent:Ribbon>

    <DockPanel Grid.Row="1" LastChildFill="True" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">


        <ContentControl DockPanel.Dock="Bottom" cal:RegionManager.RegionName="StatusBarRegion" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" />

        <igDock:XamDockManager DockPanel.Dock="Left" Theme="Office2k7Blue" x:Name="ShellRightRegion" >
                <igDock:DocumentContentHost x:Name="dch" >
                <igDock:SplitPane >
                    <igDock:TabGroupPane cal:RegionManager.RegionName="MainRegion" FocusableChanged="ShellRightRegionFocusableChanged">
                    </igDock:TabGroupPane>
                </igDock:SplitPane>
            </igDock:DocumentContentHost>
        </igDock:XamDockManager>


    </DockPanel>

    </Grid>

</Fluent:RibbonWindow>