Skip to main content
.NET 6.0+

DevExpress v24.1 Update — Your Feedback Matters

Our What's New in v24.1 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

DefaultClassOptionsAttribute Class

Sets default options for a class.

Namespace: DevExpress.Persistent.Base

Assembly: DevExpress.ExpressApp.v24.1.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface, Inherited = false)]
public class DefaultClassOptionsAttribute :
    Attribute

#Remarks

The following default options are set when you apply DefaultClassOptionsAttribute to a business class:

If you do not want to set all the options specified above at the same time, use the following attributes:

#Inheritance

Object
Attribute
DefaultClassOptionsAttribute
See Also