LunarPresentation/Widegets/GridPanelAlignButtons.xaml
(开头部分) 4KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<UserControl x:Class="SHomeWorkshop.LunarPresentation.Widegets.GridPanelAlignButtons"
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"
TextOptions.TextFormattingMode="Display" FontFamily="SimSun"
mc:Ignorable="d" Width="auto" Height="auto"
IsEnabledChanged="UserControl_IsEnabledChanged">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="auto"/>
<RowDefinition Height="auto"/>
<RowDefinition Height="auto"/>
<RowDefinition />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="auto"/>
<ColumnDefinition Width="auto"/>
<ColumnDefinition Width="auto"/>
</Grid.ColumnDefinitions>
<Grid.Resources>
<Style TargetType="Button">
<Setter Property="Width" Value="24"/>
<Setter Property="Height" Value="24"/>
<Setter Property="Background" Value="White"/>
<Setter Property="HorizontalAlignment" Value="Center"/>
<Setter Property="VerticalAlignment" Value="Center"/>
</Style>
</Grid.Resources>
<Border SnapsToDevicePixels="True" BorderThickness="1"
Grid.Column="1" Grid.Row="1" Name="gridMiBorder"
BorderBrush="Red" Margin="4" Padding="4">
<TextBlock Foreground="Gray">网 格<LineBreak />子面板</TextBlock>
</Border>
<Button Grid.Row="0" Grid.Column="0" Name="btnTopLeft" Click="btnTopLeft_Click">
<Image Height="16" Width="16" Source="/LunarPresentation;component/Resources/GPAlignIcons/TopLeft.png" />
</Button>
<Button Grid.Row="0" Grid.Column="1" Name="btnTopCenter" Click="btnTopCenter_Click">
<Image Height="16" Width="16" Source="/LunarPresentation;component/Resources/GPAlignIcons/TopCenter.png" />
</Button>
<Button Grid.Row="0" Grid.Column="2" Name="btnTopRight" Click="btnTopRight_Click">
<Image Height="16" Width="16" Source="/LunarPresentation;component/Resources/GPAlignIcons/TopRight.png" />
</Button>
<Button Grid.Row="1" Grid.Column="0" Name="btnLeft" Click="btnLeft_Click">
<Image Height="16" Width="16" Source="/LunarPresentation;component/Resources/GPAlignIcons/Left.png" />
</Button>
<Button Grid.Row="1" Grid.Column="1" Name="btnCenter" Click="btnCenter_Click">
<Image Height="16" Width="16" Source="/LunarPresentation;component/Resources/GPAlignIcons/Center.png" />
</Button>
<Button Grid.Row="1" Grid.Column="2" Name="btnRight" Click="btnRight_Click">
<Image Height="16" Width="16" Source="/LunarPresentation;component/Resources/GPAlignIcons/Right.png" />
</Button>
后面还有 24 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。