XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

XFEWorkflow

【WinUI】XFE基于windows的工作流

公开
关注 0 Fork 0 Star 0
UTF-8
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <ResourceDictionary.ThemeDictionaries>
        <ResourceDictionary x:Key="Default"><SolidColorBrush x:Key="AccountFlyoutBackground" Color="Transparent"/></ResourceDictionary>
        <ResourceDictionary x:Key="HighContrast"><SolidColorBrush x:Key="AccountFlyoutBackground" Color="{ThemeResource SystemColorWindowColor}"/></ResourceDictionary>
    </ResourceDictionary.ThemeDictionaries>
    <Style x:Key="AccountCardStyle" TargetType="Border">
        <Setter Property="Background" Value="{ThemeResource CardBackgroundFillColorDefaultBrush}"/>
        <Setter Property="BorderBrush" Value="{ThemeResource CardStrokeColorDefaultBrush}"/>
        <Setter Property="BorderThickness" Value="1"/><Setter Property="CornerRadius" Value="8"/>
        <Setter Property="Padding" Value="24"/>
    </Style>
    <Style x:Key="AccountLinkStyle" TargetType="Button" BasedOn="{StaticResource SubtleButtonStyle}">
        <Setter Property="HorizontalAlignment" Value="Stretch"/><Setter Property="HorizontalContentAlignment" Value="Stretch"/>
        <Setter Property="MinHeight" Value="44"/><Setter Property="Padding" Value="12,10"/><Setter Property="CornerRadius" Value="6"/>
    </Style>
    <Style x:Key="AccountFlyoutPresenterStyle" TargetType="FlyoutPresenter">
        <Setter Property="MinWidth" Value="332"/><Setter Property="MaxWidth" Value="360"/>
        <Setter Property="Padding" Value="16"/><Setter Property="CornerRadius" Value="8"/>
    </Style>
    <Style x:Key="AccountMicaFlyoutPresenterStyle" TargetType="FlyoutPresenter" BasedOn="{StaticResource AccountFlyoutPresenterStyle}">
        <Setter Property="Background" Value="{ThemeResource AccountFlyoutBackground}"/>
    </Style>
</ResourceDictionary>