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
937 B
C#
27 lines
937 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 LyricsStyleSettingsControl : UserControl
|
|
{
|
|
public LyricsStyleSettingsControl()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
public static readonly DependencyProperty LyricsStyleSettingsProperty =
|
|
DependencyProperty.Register(nameof(LyricsStyleSettings), typeof(LyricsStyleSettings), typeof(LyricsStyleSettingsControl), new PropertyMetadata(default));
|
|
|
|
public LyricsStyleSettings LyricsStyleSettings
|
|
{
|
|
get => (LyricsStyleSettings)GetValue(LyricsStyleSettingsProperty);
|
|
set => SetValue(LyricsStyleSettingsProperty, value);
|
|
}
|
|
}
|
|
}
|