mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 11:34:57 +02:00
22 lines
550 B
C#
22 lines
550 B
C#
|
using System.ComponentModel;
|
|||
|
using System.Windows.Controls;
|
|||
|
|
|||
|
namespace MediaBrowser.UI.Controls
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// Provides a base class for all user controls
|
|||
|
/// </summary>
|
|||
|
public abstract class BaseUserControl : UserControl
|
|||
|
{
|
|||
|
public event PropertyChangedEventHandler PropertyChanged;
|
|||
|
|
|||
|
public virtual void OnPropertyChanged(string name)
|
|||
|
{
|
|||
|
if (PropertyChanged != null)
|
|||
|
{
|
|||
|
PropertyChanged(this, new PropertyChangedEventArgs(name));
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|