blob: e47fc84cf22b6e7a385871623106579844b3b83f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
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));
}
}
}
}
|