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

Declaration

[AttributeUsage(AttributeTargets.Interface)]
public sealed class GenerateMessageTemplatesModelAttribute :
    Attribute
<AttributeUsage(AttributeTargets.Interface)>
Public NotInheritable Class GenerateMessageTemplatesModelAttribute
    Inherits Attribute
    Implements

An example of using this interface is provided in the Implement Custom Rules topic and in the FeatureCenter demo installed with XAF. The Feature Center demo is installed in %PUBLIC%\Documents\DevExpress Demos 18.2\Components\eXpressApp Framework\FeatureCenter by default. The ASP.NET version of this demo is available online at http://demos.devexpress.com/XAF/FeatureCenter/.

Inheritance

Object
Attribute
GenerateMessageTemplatesModelAttribute

Implements

See Also