Skip to content

Commit

Permalink
移除了关闭按钮
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaotianff authored and zhaotianff committed Jan 7, 2020
1 parent 655180c commit 9ef95b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Todo/Todo/Styles/WindowStyle.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<StackPanel x:Name="WindowCommandButtonsStackPanel" Grid.Column="1" HorizontalAlignment="Right" VerticalAlignment="Top" Orientation="Horizontal" WindowChrome.IsHitTestVisibleInChrome="True">
<Button x:Name="Close" Width="26.4" Height="26.4" ToolTip="关闭" WindowChrome.IsHitTestVisibleInChrome="True" Command="{Binding Source={x:Static SystemCommands.CloseWindowCommand}}" IsTabStop="False" Style="{StaticResource CaptionButtonStyleForClose}" ContentTemplate="{StaticResource Close}" ></Button>
<!--<Button x:Name="Close" Width="26.4" Height="26.4" ToolTip="关闭" WindowChrome.IsHitTestVisibleInChrome="True" Command="{Binding Source={x:Static SystemCommands.CloseWindowCommand}}" IsTabStop="False" Style="{StaticResource CaptionButtonStyleForClose}" ContentTemplate="{StaticResource Close}" ></Button>-->
</StackPanel>
</Grid>
<AdornerDecorator Grid.Row="0" Grid.RowSpan="2" KeyboardNavigation.IsTabStop="False">
Expand Down

0 comments on commit 9ef95b2

Please sign in to comment.