using OwlCore.Extensions;
using StrixMusic.Sdk.ViewModels;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
namespace StrixMusic.Shells.Groove.Controls.Pages
{
///
/// A to display a on a page.
///
public partial class GrooveHomePage : Control
{
///
/// Initializes a new instance of the class.
///
public GrooveHomePage()
{
DefaultStyleKey = typeof(GrooveHomePage);
}
///
/// The backing property for .
///
public static readonly DependencyProperty LibraryProperty =
DependencyProperty.Register(nameof(Library), typeof(LibraryViewModel), typeof(GrooveHomePage), new PropertyMetadata(null, (d, e) => d.Cast().OnLibraryChanged()));
///
/// The library displayed in this view.
///
public LibraryViewModel? Library
{
get { return (LibraryViewModel)GetValue(LibraryProperty); }
set { SetValue(LibraryProperty, value); }
}
private void OnLibraryChanged()
{
}
}
}