/
githubmirror
/
Files
Обзор
Документация
Войти
/
githubmirror
/
Files
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/Files.App/Styles/PropertiesStyles.xaml
89 строк
4 KB
Yair
Code Quality: Updated license header
31 дек 2024, 05:03
31 дек 2024, 05:03
8436c6d
Код
Авторство
О чём код?
<!-- Copyright (c) Files Community. Licensed under the MIT License. --> <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:converters="using:Files.App.Converters"> <Style x:Key="PropertiesTab" TargetType="StackPanel"> <Setter Property="Padding" Value="14,0,14,14" /> <Setter Property="VerticalAlignment" Value="Top" /> </Style> <Style x:Key="PropertiesTabGrid" TargetType="Grid"> <Setter Property="Padding" Value="14,0,14,14" /> <Setter Property="VerticalAlignment" Value="Top" /> </Style> <VerticalAlignment x:Key="PropertyValueVerticalAlignment">Center</VerticalAlignment> <!-- Might be used for Expander control --> <SolidColorBrush x:Key="SystemControlBackgroundBaseHighBrush" Color="Transparent" /> <Thickness x:Key="PropertyNameMargin">0,4</Thickness> <Style x:Key="PropertyName" TargetType="TextBlock"> <Setter Property="Margin" Value="{StaticResource PropertyNameMargin}" /> <Setter Property="FontSize" Value="14" /> <Setter Property="Foreground" Value="{ThemeResource TextFillColorSecondaryBrush}" /> <Setter Property="VerticalAlignment" Value="{StaticResource PropertyValueVerticalAlignment}" /> <Setter Property="FontWeight" Value="SemiBold" /> <Setter Property="FontFamily" Value="{ThemeResource ContentControlThemeFontFamily}" /> </Style> <Style x:Key="PropertyValueGrid" TargetType="Grid"> <Setter Property="VerticalAlignment" Value="{StaticResource PropertyValueVerticalAlignment}" /> </Style> <Style x:Key="PropertyValueStackPanel" TargetType="Grid"> <Setter Property="VerticalAlignment" Value="{StaticResource PropertyValueVerticalAlignment}" /> </Style> <Style x:Key="PropertyValueTextBlock" TargetType="TextBlock"> <Setter Property="VerticalAlignment" Value="{StaticResource PropertyValueVerticalAlignment}" /> <Setter Property="IsTextSelectionEnabled" Value="True" /> <Setter Property="Margin" Value="{StaticResource PropertyNameMargin}" /> <Setter Property="FontFamily" Value="{ThemeResource ContentControlThemeFontFamily}" /> </Style> <Style x:Key="PropertyValueTextBox" BasedOn="{StaticResource DefaultTextBoxStyle}" TargetType="TextBox"> <Setter Property="VerticalAlignment" Value="{StaticResource PropertyValueVerticalAlignment}" /> <Setter Property="HorizontalAlignment" Value="Stretch" /> <Setter Property="BorderThickness" Value="1" /> <Setter Property="BorderBrush" Value="Transparent" /> <Setter Property="Background" Value="Transparent" /> <Setter Property="FontSize" Value="14" /> <Setter Property="FontFamily" Value="{ThemeResource ContentControlThemeFontFamily}" /> </Style> <Style x:Key="DetailsValueTextBox" BasedOn="{StaticResource DefaultTextBoxStyle}" TargetType="TextBox"> <Setter Property="Margin" Value="0,0,0,0" /> <Setter Property="VerticalAlignment" Value="{StaticResource PropertyValueVerticalAlignment}" /> <Setter Property="HorizontalAlignment" Value="Stretch" /> <Setter Property="BorderBrush" Value="Transparent" /> <Setter Property="Background" Value="Transparent" /> <Setter Property="FontSize" Value="14" /> <Setter Property="FontFamily" Value="{ThemeResource ContentControlThemeFontFamily}" /> </Style> <converters:StringArrayToStringConverter x:Key="StringArrayToString" /> <converters:UInt32ToStringConverter x:Key="UInt32ToString" /> <converters:DoubleToStringConverter x:Key="DoubleToString" /> <converters:DateTimeOffsetToStringConverter x:Key="DateTimeOffsetToString" /> <Style x:Key="Separator" TargetType="MenuFlyoutSeparator"> <Setter Property="Grid.Column" Value="0" /> <Setter Property="Grid.ColumnSpan" Value="2" /> <Setter Property="Margin" Value="-12,0" /> <Setter Property="HorizontalAlignment" Value="Stretch" /> </Style> <Style x:Key="SeparatorText" TargetType="TextBlock"> <Setter Property="Grid.Column" Value="0" /> <Setter Property="FontSize" Value="22" /> </Style> </ResourceDictionary>