LunarPresentation/ColorPicker/ColorPicker.xaml

(开头部分) 31KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<UserControl x:Class="SHomeWorkshop.LunarPresentation.ColorPicker"
             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" 
             mc:Ignorable="d" FontFamily="SimSun" FontSize="12"
             TextOptions.TextFormattingMode="Display">
    <StackPanel Background="White">
        <WrapPanel Orientation="Horizontal" Width="182"
                   MouseEnter="WrapPanel_MouseEnter">
            <WrapPanel.Resources>
                <Style TargetType="Rectangle">
                    <EventSetter Event="MouseEnter" Handler="Rectangle_MouseEnter"/>
                    <EventSetter Event="MouseRightButtonDown" Handler="Rectangle_MouseRightButtonDown"/>
                </Style>
            </WrapPanel.Resources>
            
            <Border BorderBrush="Black" BorderThickness="1" Margin="1,1,15,1">
                <Image Height="10" Width="10" ToolTip="透明色"
                       MouseLeftButtonDown="Image_MouseLeftButtonDown"
                       Source="/LunarPresentation;component/Resources/Icons/Transparent.png"
                       MouseEnter="Image_MouseEnter"
                       MouseRightButtonDown="Image_MouseRightButtonDown"/>
            </Border>
            
            <Border BorderBrush="Black" BorderThickness="1" Margin="1">
                <Rectangle Width="10" Height="10" Fill="Black" ToolTip="黑色"
                        MouseLeftButtonDown="Rectangle_MouseLeftButtonDown"/>
            </Border>
            <Border BorderBrush="Black" BorderThickness="1" Margin="1">
                <Rectangle Width="10" Height="10" Fill="White" ToolTip="白色"
                       MouseLeftButtonDown="Rectangle_MouseLeftButtonDown"/>
            </Border>
            <Border BorderBrush="Black" BorderThickness="1" Margin="1">
                <Rectangle Width="10" Height="10" Fill="Red" ToolTip="红色"
                       MouseLeftButtonDown="Rectangle_MouseLeftButtonDown"/>
            </Border>
            <Border BorderBrush="Black" BorderThickness="1" Margin="1">
                <Rectangle Width="10" Height="10" Fill="Orange" ToolTip="橙色"
                        MouseLeftButtonDown="Rectangle_MouseLeftButtonDown"/>
            </Border>
            <Border BorderBrush="Black" BorderThickness="1" Margin="1">
                <Rectangle Width="10" Height="10" Fill="Yellow" ToolTip="黄色"
                        MouseLeftButtonDown="Rectangle_MouseLeftButtonDown"/>
            </Border>
            <Border BorderBrush="Black" BorderThickness="1" Margin="1">
                <Rectangle Width="10" Height="10" Fill="Green" ToolTip="绿色"
                        MouseLeftButtonDown="Rectangle_MouseLeftButtonDown"/>
            </Border>
            <Border BorderBrush="Black" BorderThickness="1" Margin="1">
                <Rectangle Width="10" Height="10" Fill="Brown" ToolTip="棕色"
                       MouseLeftButtonDown="Rectangle_MouseLeftButtonDown"/>
            </Border>
            <Border BorderBrush="Black" BorderThickness="1" Margin="1">
                <Rectangle Width="10" Height="10" Fill="Blue" ToolTip="蓝色"
                        MouseLeftButtonDown="Rectangle_MouseLeftButtonDown"/>
            </Border>
            <Border BorderBrush="Black" BorderThickness="1" Margin="1">
                <Rectangle Width="10" Height="10" Fill="Fuchsia" ToolTip="粉色"
                MouseLeftButtonDown="Rectangle_MouseLeftButtonDown"/>
后面还有 497 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。