Class AdministrationSettingsAttribute
The attribute class used to group content types and check visibility in admin
Inheritance
System.Object
AdministrationSettingsAttribute
Namespace: EPiServer.DataAnnotations
Assembly: EPiServer.dll
Version: 12.0.3Syntax
public class AdministrationSettingsAttribute : Attribute
Constructors
AdministrationSettingsAttribute()
Declaration
public AdministrationSettingsAttribute()
Properties
CodeOnly
Tells the administration UI that all aspects of this content type is defined in code only
Declaration
public bool CodeOnly { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ContentTypeFields
Default content type fields that should be enabled
Declaration
public ContentTypeFields ContentTypeFields { get; set; }
Property Value
Type | Description |
---|---|
ContentTypeFields |
GroupName
Gets or sets the name of the content type group
Declaration
public string GroupName { get; set; }
Property Value
Type | Description |
---|---|
System.String | the name of the of the content type group |
Order
Gets or sets the order of the content type group
Declaration
public int Order { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
PropertyDefinitionFields
Default property fields that should be enabled
Declaration
public PropertyDefinitionFields PropertyDefinitionFields { get; set; }
Property Value
Type | Description |
---|---|
PropertyDefinitionFields |
Visible
Gets or sets whether is visible in admin of the content type group
Declaration
public bool Visible { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | the visibility in admin of the content type group |