A newer version of this page is available. Switch to the current version.

DefaultClassOptionsAttribute Class

Sets default options for a class.

Namespace: DevExpress.Persistent.Base

Assembly: DevExpress.ExpressApp.v18.2.dll

Declaration

[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface, Inherited = false)]
public class DefaultClassOptionsAttribute :
    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