Posted 15 years ago
by Cameron MacFarland
-
Senior Software Engineer,
Orelogy Geotechnical
Version: 9.1.0506
Platform: .NET 4.0
Environment: Windows 7 (64-bit)
When using a RibbonWindow in .NET 4.0, the bottom of the content gets cut off.
Here's an example window that shows the issue. Just compile and run under .NET 4.0
Here's an example window that shows the issue. Just compile and run under .NET 4.0
<ribbon:RibbonWindow x:Class="ActiproRibbonWindowTest.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:ribbon="http://schemas.actiprosoftware.com/winfx/xaml/ribbon"
xmlns:docking="http://schemas.actiprosoftware.com/winfx/xaml/docking"
Title="MainWindow" Height="350" Width="525">
<docking:DockSite
x:Name="dockSite"
>
<docking:SplitContainer>
<docking:SplitContainer Orientation="Vertical">
<!-- Workspace -->
<docking:Workspace>
<docking:TabbedMdiHost>
<docking:TabbedMdiContainer>
<docking:DocumentWindow Title="Document1.txt">
<TextBox Text="Where did Tool Window 2 & 4 go?" />
</docking:DocumentWindow>
</docking:TabbedMdiContainer>
</docking:TabbedMdiHost>
</docking:Workspace>
<docking:ToolWindowContainer>
<docking:ToolWindow Title="Tool Window 3" />
<docking:ToolWindow Title="Tool Window 4" />
</docking:ToolWindowContainer>
</docking:SplitContainer>
<docking:ToolWindowContainer>
<docking:ToolWindow Title="Tool Window 1" />
<docking:ToolWindow Title="Tool Window 2" />
</docking:ToolWindowContainer>
</docking:SplitContainer>
</docking:DockSite>
</ribbon:RibbonWindow>