mirror of
https://github.com/babalae/better-genshin-impact.git
synced 2026-04-12 15:33:32 +08:00
38 lines
1.4 KiB
XML
38 lines
1.4 KiB
XML
<Window x:Class="BetterGenshinImpact.View.PickerWindow"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
Title="选择捕获窗口"
|
|
Width="800"
|
|
Height="450"
|
|
FontFamily="{DynamicResource TextThemeFontFamily}"
|
|
mc:Ignorable="d">
|
|
<Grid Background="Black">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="*" />
|
|
</Grid.RowDefinitions>
|
|
|
|
<StackPanel Grid.Row="0"
|
|
Margin="5,0"
|
|
Background="White"
|
|
Orientation="Horizontal">
|
|
<TextBlock FontSize="20" Text="双击选中要捕获的窗口" />
|
|
</StackPanel>
|
|
|
|
<ListBox x:Name="WindowList"
|
|
Grid.Row="1"
|
|
Padding="0,10"
|
|
BorderThickness="0">
|
|
<ListBox.ItemTemplate>
|
|
<DataTemplate>
|
|
<ContentControl MouseDoubleClick="WindowsOnMouseDoubleClick">
|
|
<TextBlock FontSize="14" Text="{Binding Name}" />
|
|
</ContentControl>
|
|
</DataTemplate>
|
|
</ListBox.ItemTemplate>
|
|
</ListBox>
|
|
</Grid>
|
|
</Window>
|