.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

DefaultClassOptionsAttribute Class

Sets default options for a class.

Namespace: DevExpress.Persistent.Base

Assembly: DevExpress.ExpressApp.v19.2.dll

Declaration

[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface, Inherited = false)]
public class DefaultClassOptionsAttribute :
    Attribute
<AttributeUsage(AttributeTargets.Class Or AttributeTargets.Interface, Inherited:=False)>
Public Class DefaultClassOptionsAttribute
    Inherits Attribute
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface, Inherited = false)]
public class DefaultClassOptionsAttribute :
    Attribute
<AttributeUsage(AttributeTargets.Class Or AttributeTargets.Interface, Inherited:=False)>
Public Class DefaultClassOptionsAttribute
    Inherits Attribute
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface, Inherited = false)]
public class DefaultClassOptionsAttribute :
    Attribute
<AttributeUsage(AttributeTargets.Class Or AttributeTargets.Interface, Inherited:=False)>
Public Class DefaultClassOptionsAttribute
    Inherits Attribute

Remarks

The following default options are set when applying the DefaultClassOptions attribute to a business class:

Applying this attribute is equivalent to using the following attributes simultaneously: CreatableItemAttribute, NavigationItemAttribute, VisibleInReportsAttribute and VisibleInDashboardsAttribute.

Inheritance

Object
Attribute
DefaultClassOptionsAttribute
See Also