Update/Common/Dictionary/main_dictionary.xaml

(开头部分) 6KB

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

<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:local="clr-namespace:Update.Common.Dictionary">

    <SolidColorBrush x:Key="defaultBrushColor1">#3885ED</SolidColorBrush>

    <!--安装默认背景图-->
    <BitmapImage x:Key="setupback1" CreateOptions="IgnoreImageCache" CacheOption="OnLoad" UriSource="pack://application:,,,/Update;component/Resources/setupback1.png"/>
    <!--安装默认背景图-->
    <BitmapImage x:Key="setupback2" CreateOptions="IgnoreImageCache" CacheOption="OnLoad" UriSource="pack://application:,,,/Update;component/Resources/setupback2.png"/>
    <!--安装默认背景图-->
    <BitmapImage x:Key="setupback3" CreateOptions="IgnoreImageCache" CacheOption="OnLoad" UriSource="pack://application:,,,/Update;component/Resources/setupback3.png"/>
    <!--多选框选中样式图标-->
    <BitmapImage x:Key="check_icon" CreateOptions="IgnoreImageCache" CacheOption="OnLoad" UriSource="pack://application:,,,/Update;component/Resources/check_icon.png"/>
    <!--最小化-->
    <BitmapImage x:Key="min" CreateOptions="IgnoreImageCache" CacheOption="OnLoad" UriSource="pack://application:,,,/Update;component/Resources/min.png"/>
    <!--关闭-->
    <BitmapImage x:Key="close" CreateOptions="IgnoreImageCache" CacheOption="OnLoad" UriSource="pack://application:,,,/Update;component/Resources/close.png"/>
    <!--透明样式按钮-->
    <Style x:Key="TransparentButtonStyle" TargetType="Button">
        <Setter Property="Padding" Value="0"/>
        <Setter Property="FocusVisualStyle" Value="{x:Null}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="Button">
                    <Grid Background="Transparent">
                        
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <!--浏览样式按钮2-->
    <Style x:Key="TransparentButtonStyle2" TargetType="Button">
        <Setter Property="Padding" Value="0"/>
        <Setter Property="FocusVisualStyle" Value="{x:Null}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="Button">
                    <Border BorderBrush="#e4e4e4" BorderThickness="1">
                        <Grid Background="Transparent">

                            <TextBlock Text="{TemplateBinding Content}" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="{TemplateBinding Foreground}"></TextBlock>
                        </Grid>
                    </Border>
                    
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <!--当控件获得键盘焦点时的样式-->
    <Style x:Key="FocusStyle">
        <Setter Property="Control.Template">
            <Setter.Value>
                <ControlTemplate>
                    <Rectangle Stroke="Red" StrokeThickness="1"/>
                </ControlTemplate>
            </Setter.Value>
后面还有 76 行代码,解锁后查看完整代码

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

AI 解读

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

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