私のアプリケーションにはSystem.Windows.Controls.Ribbon
ライブラリが使用されています。私はそれが画面から消え始めるウィンドウを最大化する場合を除いて、すべてが本当に素晴らしいです。WPFリボン:最大化されたウィンドウが表示されない
私は他のWPFアプリケーションでも気づきましたが、RibbonWindow
を使用すると悪化します。ここで
私のソースコード(本当にエキサイティングな何もないと思う)です:
<RibbonWindow
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Class="WpfApplication1.MainWindow"
Title="TestWindow" Height="350" Width="525" Background="LightSteelBlue">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Ribbon Grid.Row="0">
<RibbonTab x:Name="TestRibbon" Header="TestRibbon">
<RibbonGroup>
<RibbonButton x:Name="TestButton" Label="Button" LargeImageSource="traffic_lights_green.png" />
</RibbonGroup>
</RibbonTab>
</Ribbon>
<ContentControl Grid.Row="1">
</ContentControl>
</Grid>
</RibbonWindow>
はこれをやってから、ウィンドウを停止するいくつかの方法はありますか?
それは場合に役立ちますhttp://stackoverflow.com/a/12567883/183367を参照してください。 –
Microsoftバグ:http://connect.microsoft.com/VisualStudio/feedback/details/775972/wpf-ribbon-window-the-border-is-too-thin – jbe
http://fluent.codeplex.com/を使用してください使用するほうがはるかに便利で、ベータ版でも複数のproductivアプリケーションでうまく動作します – Staeff