Skip to main content
All docs
V24.2
.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

IRuleSet.GetRules Method

Name Parameters Description
GetRules() none Returns a list of all rules registered in the IRuleSet.
GetRules(IEnumerable<Type>) targetTypesForDelayedCollectRules Returns a list of rules that belongs to the current IRuleSet.
GetRules(IEnumerable) targetsForDelayedCollectRules Returns a list of all rules that belong to the objects listed in a parameter.
GetRules(Object, ContextIdentifiers) target, contextIDs Returns a list of all rules for the given object and validation contexts.
GetRules(Object) targetForDelayedCollectRules Returns a list of all rules that belong to the object specified in a parameter.
GetRules(Type, ContextIdentifiers) targetType, contextIDs Returns a list of rules for the given type and validation contexts.