using OwlCore.Extensions;
using StrixMusic.Sdk.ViewModels;
using StrixMusic.Shells.Groove.ViewModels.Pages;
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 GroovePlaylistPage : Control
{
///
/// Initializes a new instance of the class.
///
public GroovePlaylistPage()
{
DefaultStyleKey = typeof(GroovePlaylistPage);
}
///
/// The backing depenency property for .s
///
public static readonly DependencyProperty PlaylistProperty =
DependencyProperty.Register(nameof(Playlist), typeof(PlaylistViewModel), typeof(GroovePlaylistPage), new PropertyMetadata(null, (d, e) => d.Cast().OnPlaylistChanged()));
///
/// The playlist to display.
///
public PlaylistViewModel Playlist
{
get { return (PlaylistViewModel)GetValue(PlaylistProperty); }
set { SetValue(PlaylistProperty, value); }
}
private void OnPlaylistChanged()
{
}
}
}