Skip to main content
.NET Framework 4.6.2+

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

GenerateMessageTemplatesModelAttribute Class

Applied to interfaces derived from IRuleBaseProperties. Specifies that message templates for string properties whose names start with “MessageTemplate” are generated automatically.

Namespace: DevExpress.Persistent.Validation

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

#Declaration

[AttributeUsage(AttributeTargets.Interface)]
public sealed class GenerateMessageTemplatesModelAttribute :
    Attribute

#Remarks

An example of using this interface is provided in the Implement Custom Rules topic and in the FeatureCenter demo installed with XAF. The default location of the application is %PUBLIC%\Documents\DevExpress Demos 24.2\Components\XAF\FeatureCenter.NETFramework.XPO.

#Inheritance

Object
Attribute
GenerateMessageTemplatesModelAttribute
See Also