Ver código fonte

Splash screen style fix - hide window commands

LukePulverenti Luke Pulverenti luke pulverenti 12 anos atrás
pai
commit
1400e5ad9d
1 arquivos alterados com 7 adições e 0 exclusões
  1. 7 0
      MediaBrowser.Common/UI/Splash.xaml

+ 7 - 0
MediaBrowser.Common/UI/Splash.xaml

@@ -10,6 +10,13 @@
         WindowStartupLocation="CenterScreen"
         WindowState="Normal" 
         FontSize="14">
+    <Window.Resources>
+        <ResourceDictionary>
+            <Style TargetType="{x:Type Controls:WindowCommands}">
+                <Setter Property="Visibility" Value="Hidden" />
+            </Style>
+        </ResourceDictionary>
+    </Window.Resources>
     <Window.Background>
         <RadialGradientBrush RadiusX=".75" RadiusY=".75">
             <GradientStop Color="White" Offset="0.0"/>