File

projects/wms-framework/src/lib/basecomponentmodel/Bindings/BindingValidationErrorEventArgs.ts

Description

Event argument used for validation events

Index

Properties

Properties

Action
Default value : BindingValidationErrorEventAction.Added

Action related to validation processing

Handled
Default value : true

A flag to determine if the validation error was handled

ValidationError
Type : BindingValidationError
Default value : null

Information about the validation error

import { BindingValidationError } from './BindingValidationError';
import { BindingValidationErrorEventAction } from './BindingValidationErrorEventAction';

/**
 *  Event argument used for validation events
 *
 * @export
 * @class BindingValidationErrorEventArgs
 * @wType System.Windows.Controls.ValidationErrorEventArgs
 */
export class BindingValidationErrorEventArgs {
  /**
   *  Action related to validation processing
   *
   * @memberof BindingValidationErrorEventArgs
   */
  Action = BindingValidationErrorEventAction.Added;

  /**
   * Information about the validation error
   *
   * @type {BindingValidationError}
   * @memberof BindingValidationErrorEventArgs
   */
  ValidationError: BindingValidationError = null;

  /**
   *  A flag to determine if the validation error was handled
   *
   * @memberof BindingValidationErrorEventArgs
   */
  Handled = true;
}

result-matching ""

    No results matching ""