Posted 15 years ago
by SledgeHammer01
Version: 9.2.0515
Platform: .NET 4.0
Environment: Windows XP (32-bit)
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">
<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">