using MediaBrowser.Model.Dto; using MediaBrowser.UI.Controls; namespace MediaBrowser.Plugins.DefaultTheme.Controls.Details { /// /// Class BaseDetailsControl /// public abstract class BaseDetailsControl : BaseUserControl { /// /// Initializes a new instance of the class. /// protected BaseDetailsControl() { DataContext = this; } /// /// The _item /// private BaseItemDto _item; /// /// Gets or sets the item. /// /// The item. public BaseItemDto Item { get { return _item; } set { _item = value; OnPropertyChanged("Item"); OnItemChanged(); } } /// /// Called when [item changed]. /// protected abstract void OnItemChanged(); } }