Startup centered in main window and not show in Taskbar

This commit is contained in:
Martin Smith 2025-05-14 10:44:19 +01:00
parent f075954e17
commit a8bf955fff

View file

@ -10,7 +10,8 @@
Title="{DynamicResource Text.About}" Title="{DynamicResource Text.About}"
Width="520" Height="230" Width="520" Height="230"
CanResize="False" CanResize="False"
WindowStartupLocation="CenterScreen"> ShowInTaskbar="False"
WindowStartupLocation="CenterOwner">
<Grid RowDefinitions="Auto,*"> <Grid RowDefinitions="Auto,*">
<!-- TitleBar --> <!-- TitleBar -->
<Grid Grid.Row="0" Height="28" IsVisible="{Binding !#ThisControl.UseSystemWindowFrame}"> <Grid Grid.Row="0" Height="28" IsVisible="{Binding !#ThisControl.UseSystemWindowFrame}">
@ -62,8 +63,8 @@
</Button> </Button>
</StackPanel> </StackPanel>
<TextBlock x:Name="TxtCopyright" Margin="0,40,0,0" Foreground="{DynamicResource Brush.FG2}"/> <TextBlock x:Name="TxtCopyright" Margin="0,40,0,0" Foreground="{DynamicResource Brush.FG2}"/>
</StackPanel> </StackPanel>
</Grid> </Grid>
</Grid> </Grid>