We use a RibbonWindow as our main window for the application. Everything works fine except when maximized: the bottom part of the window is hidden under the taskbar. (Version: 2015.1.225.45) Here is the definition of the window:
01.
<
telerik:RadRibbonWindow
x:Name
=
"ShellWindow"
02.
x:Class
=
"ASC.Pilot.Shell"
03.
AutomationProperties.AutomationId
=
"AID_ShellWindow"
05.
xmlns:x
=
"http://schemas.microsoft.com/winfx/2006/xaml"
06.
xmlns:prism
=
"http://www.codeplex.com/prism"
07.
xmlns:inf
=
"clr-namespace:ASC.Infrastructure;assembly=ASC.Infrastructure"
08.
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
09.
xmlns:controls
=
"clr-namespace:ASC.Controls;assembly=ASC.Controls"
10.
xmlns:local
=
"clr-namespace:ASC.Pilot"
11.
Height
=
"920"
Width
=
"1440"
12.
WindowStartupLocation
=
"CenterScreen"
13.
WindowState
=
"Normal"
14.
Icon
=
"van.png"
15.
AllowsTransparency
=
"True"
16.
WindowStyle
=
"None"
17.
ScrollViewer.HorizontalScrollBarVisibility
=
"Auto"
18.
ScrollViewer.VerticalScrollBarVisibility
=
"Auto"
>
19.
<
telerik:RadRibbonWindow.Resources
>
20.
<
ResourceDictionary
>
21.
<
Style
TargetType
=
"local:Shell"
BasedOn
=
"{StaticResource RadRibbonWindowStyle}"
>
22.
<
Setter
Property
=
"BorderThickness"
Value
=
"2"
/>
23.
</
Style
>
24.
</
ResourceDictionary
>
25.
</
telerik:RadRibbonWindow.Resources
>
26.
<
Grid
x:Name
=
"mainGrid"
x:Uid
=
"mainGrid"
27.
AutomationProperties.AutomationId
=
"AID_MainGrid"
HorizontalAlignment
=
"Stretch"
VerticalAlignment
=
"Stretch"
>
28.
<
Grid.ColumnDefinitions
>
29.
<
ColumnDefinition
Width
=
"*"
/>
30.
</
Grid.ColumnDefinitions
>
31.
<
Grid.RowDefinitions
>
32.
<
RowDefinition
Height
=
"Auto"
/>
33.
<
RowDefinition
Height
=
"*"
/>
34.
<
RowDefinition
Height
=
"25"
/>
35.
</
Grid.RowDefinitions
>
36.
<
ContentControl
x:Name
=
"menuContent"
Grid.Row
=
"0"
Grid.Column
=
"0"
37.
prism:RegionManager.RegionName
=
"{x:Static inf:RegionNames.MenuRegion}"
38.
VerticalAlignment
=
"Stretch"
39.
HorizontalAlignment
=
"Stretch"
></
ContentControl
>
40.
<
ContentControl
x:Name
=
"mainContent"
Grid.Row
=
"1"
Grid.Column
=
"0"
41.
prism:RegionManager.RegionName
=
"{x:Static inf:RegionNames.MainRegion}"
42.
VerticalAlignment
=
"Stretch"
43.
HorizontalAlignment
=
"Stretch"
></
ContentControl
>
44.
<
ContentControl
x:Name
=
"statusbarContent"
Grid.Row
=
"2"
Grid.Column
=
"0"
HorizontalContentAlignment
=
"Stretch"
45.
prism:RegionManager.RegionName
=
"{x:Static inf:RegionNames.StatusBarRegion}"
/>
46.
</
Grid
>
47.
</
telerik:RadRibbonWindow
>
What is going wrong?
Regards
Neils