BUG: Can't start Ribbon app in Maximized Mode

Ribbon for WPF Forum

Posted 14 years ago by SledgeHammer01
Version: 9.2.0515
Platform: .NET 4.0
Environment: Windows XP (32-bit)
Avatar
Here is my relevant XAML... All I added was WindowState="Maximized" (discovered this when adding Save/Restore code). The Window starts up taking up all the desktop space, but not in the maximized state if you know what I mean... the window is 1280x1024 or whatever it ends up being (minus the taskbar) and the window frame styling is broken (looks like its non-themed). If I set the state via code, I see the same issue. XP fully patched.




<ribbon:RibbonWindow x:Class="XXX.YYY.TemplateManager.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:shared="http://schemas.actiprosoftware.com/winfx/xaml/shared"
xmlns:ribbon="http://schemas.actiprosoftware.com/winfx/xaml/ribbon"
xmlns:themes="http://schemas.actiprosoftware.com/winfx/xaml/themes"
xmlns:local="clr-namespace:XXX.YYY.TemplateManager"
themes:ThemeManager.Theme="Office2007Blue"
Width="800" Height="640"
MinWidth="400" MinHeight="320"
ApplicationName="Template Manager"
WindowState="Maximized"
WindowStartupLocation="CenterScreen"
ResizeMode="CanResizeWithGrip"
ContentRendered="OnContentRendered"
Closing="OnClosing">

Comments (1)

Posted 14 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Thanks for letting us know. We found that if we target .NET 3.5, the problem isn't there so it's a .NET 4.0-only issue and only when in non-glass mode. We added some code to fix this in .NET 4.0, which will be in the next version.


Actipro Software Support

The latest build of this product (v24.1.2) was released 2 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.