ValidationWindowsFormsModule Class

The module contained in the DevExpress.ExpressApp.Validation.Win.v18.2.dll assembly.

Namespace: DevExpress.ExpressApp.Validation.Win

Assembly: DevExpress.ExpressApp.Validation.Win.v18.2.dll

Declaration

[ToolboxTabName("DX.18.2: XAF Modules")]
[ToolboxBitmap(typeof(ValidationWindowsFormsModule), "Resources.Toolbox_Module_Validation_Win.ico")]
public sealed class ValidationWindowsFormsModule :
    ModuleBase
<ToolboxTabName("DX.18.2: XAF Modules")>
<ToolboxBitmap(GetType(ValidationWindowsFormsModule), "Resources.Toolbox_Module_Validation_Win.ico")>
Public NotInheritable Class ValidationWindowsFormsModule
    Inherits ModuleBase
    Implements

The ValidationWindowsFormsModule module creates validation error messages (invoked after rules are broken) that are more informative and user friendly than default exception messages. Additionally, this module provides in-place validation support (see IModelValidationContext.AllowInplaceValidation). To add this module, invoke the Application Designer for the WinForms application and drag the ValidationWindowsFormsModule item from the Toolbox to the Modules panel.

Inheritance

Object
MarshalByRefObject
Component
ModuleBase
ValidationWindowsFormsModule

Implements

DevExpress.ExpressApp.ISupportSetup
See Also