This repository has been archived on 2023-03-29. You can view files and clone it, but cannot push or open issues or pull requests.
Sic02/FrameworkLocal/UIClient/Caliburn.Micro/Core/INotifyPropertyChangedEx.cs

25 lines
841 B
C#

namespace Caliburn.Micro.Core {
using System.ComponentModel;
/// <summary>
/// Extends <see cref = "INotifyPropertyChanged" /> such that the change event can be raised by external parties.
/// </summary>
public interface INotifyPropertyChangedEx : INotifyPropertyChanged {
/// <summary>
/// Enables/Disables property change notification.
/// </summary>
bool IsNotifying { get; set; }
/// <summary>
/// Notifies subscribers of the property change.
/// </summary>
/// <param name = "propertyName">Name of the property.</param>
void NotifyOfPropertyChange(string propertyName);
/// <summary>
/// Raises a change notification indicating that all bindings should be refreshed.
/// </summary>
void Refresh();
}
}