Back to Devexpress

GenerateMessageTemplatesModelAttribute Class

expressappframework-devexpress-dot-persistent-dot-validation-0bdb231b.md

latest1.9 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Persistent.Base

Declaration

csharp
[AttributeUsage(AttributeTargets.Interface)]
public sealed class GenerateMessageTemplatesModelAttribute :
    Attribute
vb
<AttributeUsage(AttributeTargets.Interface)>
Public NotInheritable Class GenerateMessageTemplatesModelAttribute
    Inherits 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 25.2\Components\XAF\FeatureCenter.NET.XPO.

Inheritance

Object Attribute GenerateMessageTemplatesModelAttribute

See Also

GenerateMessageTemplatesModelAttribute Members

DevExpress.Persistent.Validation Namespace