using Avalonia; using Avalonia.Controls.Primitives; using FluentIcons.Common; using ZonyLrcTools.Desktop.ViewModels; namespace ZonyLrcTools.Desktop.Controls; public class DownloadStatusControl : TemplatedControl { public static readonly StyledProperty StatusProperty = AvaloniaProperty.Register(nameof(Status)); public static readonly StyledProperty SymbolProperty = AvaloniaProperty.Register(nameof(Symbol)); public static readonly StyledProperty TextProperty = AvaloniaProperty.Register(nameof(Text)); public DownloadStatus Status { get => GetValue(StatusProperty); set => SetValue(StatusProperty, value); } public Symbol Symbol { get => GetValue(SymbolProperty); set => SetValue(SymbolProperty, value); } public string Text { get => GetValue(TextProperty); set => SetValue(TextProperty, value); } }