mirror of
https://github.com/jayfunc/BetterLyrics.git
synced 2026-01-12 10:54:55 +08:00
- Add album text in lyrics render - Improve song info update and draw algo - Upgrade to .NET 10
27 lines
992 B
C#
27 lines
992 B
C#
using BetterLyrics.WinUI3.Models.Settings;
|
|
using Microsoft.UI.Xaml;
|
|
using Microsoft.UI.Xaml.Controls;
|
|
|
|
// To learn more about WinUI, the WinUI project structure,
|
|
// and more about our project templates, see: http://aka.ms/winui-project-info.
|
|
|
|
namespace BetterLyrics.WinUI3.Controls
|
|
{
|
|
public sealed partial class LyricsBackgroundSettingsControl : UserControl
|
|
{
|
|
public static readonly DependencyProperty LyricsBackgroundSettingsProperty =
|
|
DependencyProperty.Register(nameof(LyricsBackgroundSettings), typeof(LyricsBackgroundSettings), typeof(LyricsBackgroundSettingsControl), new PropertyMetadata(default));
|
|
|
|
public LyricsBackgroundSettings LyricsBackgroundSettings
|
|
{
|
|
get => (LyricsBackgroundSettings)GetValue(LyricsBackgroundSettingsProperty);
|
|
set => SetValue(LyricsBackgroundSettingsProperty, value);
|
|
}
|
|
|
|
public LyricsBackgroundSettingsControl()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
}
|
|
}
|