e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
29 lines
768 B
C#
29 lines
768 B
C#
//------------------------------------------------------------------------------
|
|
// <copyright file="INotifyDataErrorInfo.cs" company="Microsoft">
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// </copyright>
|
|
//------------------------------------------------------------------------------
|
|
|
|
namespace System.ComponentModel {
|
|
|
|
using System;
|
|
using System.Collections;
|
|
|
|
/// <devdoc>
|
|
/// </devdoc>
|
|
public interface INotifyDataErrorInfo {
|
|
|
|
/// <devdoc>
|
|
/// </devdoc>
|
|
bool HasErrors { get; }
|
|
|
|
/// <devdoc>
|
|
/// </devdoc>
|
|
IEnumerable GetErrors(string propertyName);
|
|
|
|
/// <devdoc>
|
|
/// </devdoc>
|
|
event EventHandler<DataErrorsChangedEventArgs> ErrorsChanged;
|
|
}
|
|
}
|