Back to Devexpress

ValidationModule.AllowValidationDetailsAccess Property

expressappframework-devexpress-dot-expressapp-dot-validation-dot-validationmodule-cbcbf9c9.md

latest6.2 KB
Original Source

ValidationModule.AllowValidationDetailsAccess Property

Specifies whether end-users are allowed to view validation result details.

Namespace : DevExpress.ExpressApp.Validation

Assembly : DevExpress.ExpressApp.Validation.v25.2.dll

NuGet Package : DevExpress.ExpressApp.Validation

Declaration

csharp
public bool AllowValidationDetailsAccess { get; set; }
vb
Public Property AllowValidationDetailsAccess As Boolean

Property Value

TypeDescription
Boolean

true , if end-users are allowed to view validation result details; otherwise, false.

|

Remarks

When an object does not pass validation, a window listing failed validation rules is displayed. If the AllowValidationDetailsAccess property is set to true , end-users can click individual failed validation rules to view detailed information on them. Generally, this feature if only useful while debugging an application.

The following code snippets (auto-collected from DevExpress Examples) contain references to the AllowValidationDetailsAccess property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

XAF_how-to-show-filter-dialog-before-listview/CS/E1554.Web/WebApplication.cs#L80

csharp
//
this.validationModule.AllowValidationDetailsAccess = true;
this.validationModule.IgnoreWarningAndInformationRules = false;

XAF_how-to-prevent-a-detailview-from-being-shown-for-a-listview-record/CS/WinWebSolution.Web/WebApplication.cs#L44

csharp
//
this.module5.AllowValidationDetailsAccess = true;
//

xaf-separate-employees-data-in-different-departments-using-security-permissions/CS/MainDemo.Web/WebApplication.cs#L46

csharp
//
this.validationModule1.AllowValidationDetailsAccess = true;
//

xaf-how-to-display-a-collection-property-as-a-checked-list-box/CS/DXExample.Web/ApplicationCode/WebApplication.cs#L66

csharp
//
this.module5.AllowValidationDetailsAccess = true;
//

xaf-how-to-access-a-tab-control-in-a-detail-view-layout/CS/E372.Web/WebApplication.cs#L48

csharp
//
this.module5.AllowValidationDetailsAccess = true;
//

xaf-how-to-use-data-from-security-in-criterion/VB/CustomFunctionCriteriaOperator.Web/WebApplication.vb#L53

vb
'
Me.module5.AllowValidationDetailsAccess = True
'

XAF_how-to-show-filter-dialog-before-listview/VB/E1554.Web/WebApplication.vb#L73

vb
'
Me.validationModule.AllowValidationDetailsAccess = True
Me.validationModule.IgnoreWarningAndInformationRules = False

XAF_how-to-prevent-a-detailview-from-being-shown-for-a-listview-record/VB/WinWebSolution.Web/WebApplication.vb#L46

vb
'
Me.module5.AllowValidationDetailsAccess = True
'

xaf-separate-employees-data-in-different-departments-using-security-permissions/VB/MainDemo.Web/WebApplication.vb#L46

vb
CType((Me), System.ComponentModel.ISupportInitialize).BeginInit()
Me.validationModule1.AllowValidationDetailsAccess = True
Me.securityStrategyComplex1.Authentication = Me.authenticationStandard1

XAF-implement-custom-permission-role-and-user-objects/VB/SecuredExportExample.Web/WebApplication.vb#L49

vb
'
Me.module5.AllowValidationDetailsAccess = True
'

See Also

Validation Rules

ValidationModule Class

ValidationModule Members

DevExpress.ExpressApp.Validation Namespace