Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

IRuleSource.CreateRules() Method

Instantiates custom Validation Rules.

Namespace: DevExpress.Persistent.Validation

Assembly: DevExpress.Persistent.Base.v24.2.dll

#Declaration

ICollection<IRule> CreateRules()

#Returns

Type Description
ICollection<IRule>

An ICollection<IRule> object, which represents custom Validation Rules.

#Remarks

When implementing the IRuleSource interface, use this property to supply the Validation Module with custom Validation Rules.

To see an example of implementing the IRuleSource interface, refer to the “Custom Rule Source” section of the Declare Validation Rules topic.

See Also