/
githubmirror
/
Files
Обзор
Документация
Войти
/
githubmirror
/
Files
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/Files.App/Styles/ShimmerStyles.xaml
23 строки
766 B
0x5BFA
Code Quality: Replaced our own Shimmer control with WCT (#16926)
13 мар 2025, 22:52
Не верифицирован
13 мар 2025, 22:52
d770b7e
Код
Авторство
О чём код?
<!-- 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:wctlabs="using:CommunityToolkit.Labs.WinUI"> <Style TargetType="wctlabs:Shimmer"> <Setter Property="CornerRadius" Value="4" /> <Setter Property="MinWidth" Value="8" /> <Setter Property="MinHeight" Value="8" /> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="wctlabs:Shimmer"> <Border x:Name="Shape" Background="{TemplateBinding Background}" CornerRadius="{TemplateBinding CornerRadius}" /> </ControlTemplate> </Setter.Value> </Setter> </Style> </ResourceDictionary>