You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jellyfin/MediaBrowser.UI.Controls/BaseUserControl.cs

22 lines
550 B

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));
}
}
}
}