RA2MapEditTool.Control/TitleBarUC.xaml
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<UserControl
x:Class="RA2MapEditTool.Control.TitleBarUC"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
mc:Ignorable="d"
d:DesignHeight="50" d:DesignWidth="800"
PreviewMouseLeftButtonDown="TitlePanelUC_PreviewMouseLeftButtonDown"
PreviewMouseMove="TitlePanelUC_PreviewMouseMove"
PreviewMouseLeftButtonUp="TitlePanelUC_PreviewMouseLeftButtonUp">
<Border>
<Border.Effect>
<DropShadowEffect
Color="Gray" ShadowDepth="0"
BlurRadius="8" Opacity="0.5"
Direction="0" />
</Border.Effect>
<materialDesign:ColorZone
Padding="0"
materialDesign:ElevationAssist.Elevation="Dp0"
ClipToBounds="False"
CornerRadius="0"
Mode="PrimaryDark" Background="#FF2D2D30">
<Grid>
<Button
x:Name="buttonClose"
Width="50" Height="50"
Margin="0" Padding="0"
VerticalAlignment="Center"
HorizontalAlignment="Right"
Background="#00000000"
BorderBrush="#00000000"
Foreground="#FFFFFFFF"
ToolTip="关闭" Click="buttonClose_Click">
<materialDesign:PackIcon
Width="30"
Height="30"
Kind="Close"
HorizontalAlignment="Center"
VerticalAlignment="Center" />
</Button>
<Button
x:Name="buttonMaximize"
Width="50" Height="50"
Margin="0,0,50,0" Padding="0"
VerticalAlignment="Center"
HorizontalAlignment="Right"
Background="#00000000"
BorderBrush="#00000000"
Foreground="#FFFFFFFF"
ToolTip="最大化" IsEnabled="False">
<materialDesign:PackIcon
Width="28"
Height="28"
Kind="Maximize"
HorizontalAlignment="Center"
VerticalAlignment="Center" />
</Button>
后面还有 28 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。