Files
better-genshin-impact/BetterGenshinImpact/View/Windows/MapLabelSearchWindow.xaml
2026-01-28 01:24:04 +08:00

41 lines
1.9 KiB
XML

<ui:FluentWindow x:Class="BetterGenshinImpact.View.Windows.MapLabelSearchWindow"
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"
xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml"
Width="280"
Height="64"
MinWidth="120"
MinHeight="64"
FontFamily="{DynamicResource TextThemeFontFamily}"
WindowStartupLocation="Manual"
Topmost="True"
WindowStyle="None"
Background="Transparent"
mc:Ignorable="d">
<Grid Margin="0">
<Border Margin="0"
CornerRadius="8"
Background="{ui:ThemeResource ApplicationBackgroundBrush}">
<Grid Margin="8,4,8,4">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<ui:TextBox x:Name="SearchTextBox"
Grid.Column="0"
Height="32"
PlaceholderText="搜索当前区域下的标点分类"
Text="{Binding MapLabelSearchText, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
<ui:Button Grid.Column="1"
Width="34"
Height="28"
Margin="8,2,0,2"
Content="X"
Click="CloseButton_Click" />
</Grid>
</Border>
</Grid>
</ui:FluentWindow>