C# Class Felinesoft.UmbracoCodeFirst.Attributes.ContentTabAttribute

Inheritance: CodeFirstAttribute, IInitialisablePropertyAttribute
Afficher le fichier Open project: DanMannMann/UmbracoCodeFirst Class Usage Examples

Méthodes publiques

Méthode Description
ContentTabAttribute ( string name = null, int sortOrder, string originalName = null, bool preserveOriginalNameFormat = false ) : System

Specifies that a property should be used as a document tab on a document type. Any properties which are not set will be inferred from the property metadata and the data type metadata if possible.

Initialise ( System propertyTarget ) : void

Initialises the attribute properties based on the type to which the attribute is applied.

Method Details

ContentTabAttribute() public méthode

Specifies that a property should be used as a document tab on a document type. Any properties which are not set will be inferred from the property metadata and the data type metadata if possible.
public ContentTabAttribute ( string name = null, int sortOrder, string originalName = null, bool preserveOriginalNameFormat = false ) : System
name string The name of the tab
sortOrder int The sort order of the tab
originalName string
preserveOriginalNameFormat bool
Résultat System

Initialise() public méthode

Initialises the attribute properties based on the type to which the attribute is applied.
public Initialise ( System propertyTarget ) : void
propertyTarget System The property to which the attribute is applied
Résultat void