projects/wms-framework/src/lib/basecomponentmodel/INotifyDataErrorInfo.ts
Interface of INotifyDataErrorInfo
Properties |
Methods |
GetErrors | ||||||
GetErrors(propertyName: string)
|
||||||
Parameters :
Returns :
Iterable<unknown>
|
ErrorsChanged |
ErrorsChanged:
|
Type : SubscriptionEvent<void>
|
HasErrors |
HasErrors:
|
Type : boolean
|
import { SubscriptionEvent } from '../utils/SubscriptionEvent';
/**
* DataErrorsChanged event arguments class
*
* @export
* @class DataErrorsChangedEventArgs
* @wType System.ComponentModel.DataErrorsChangedEventArgs
*/
export class DataErrorsChangedEventArgs {
PropertyName: string = null;
constructor(propertyName?: string) {
this.PropertyName = propertyName;
}
}
/**
* Interface of INotifyDataErrorInfo
*
* @export
* @interface INotifyDataErrorInfo
* @wInterface System.ComponentModel.INotifyDataErrorInfo
*/
export interface INotifyDataErrorInfo {
HasErrors: boolean;
ErrorsChanged: SubscriptionEvent<
(sender: unknown, args: DataErrorsChangedEventArgs) => void
>;
GetErrors(propertyName: string): Iterable<unknown>;
}