Represents a simplified view of a content type.
Namespace: Umbraco.Cms.Core.Models Assembly: Umbraco.Core.dll Syntaxpublic interface ISimpleContentType
Properties View Source Alias
Gets the alias of the content type.
Declaration Property Value Type Description System.String View Source AllowedAsRootGets a value indicating whether content of that type can be created at the root of the tree.
Declarationbool AllowedAsRoot { get; }
Property Value Type Description System.Boolean View Source DefaultTemplate
Gets the default template of the content type.
DeclarationITemplate DefaultTemplate { get; }
Property Value View Source Icon
Gets the icon of the content type.
Declaration Property Value Type Description System.String View Source Id Declaration Property Value Type Description System.Int32 View Source IsElementGets a value indicating whether the content type is an element content type.
Declaration Property Value Type Description System.Boolean View Source Key Declaration Property Value View Source ListViewGets the list view of the content type.
Declaration Property Value Type Description System.Nullable<Guid> View Source Name Declaration Property Value Type Description System.String View Source VariationsGets the content variation of the content type.
DeclarationContentVariation Variations { get; }
Property Value Methods View Source SupportsPropertyVariation(String, String, Boolean)
Validates that a combination of culture and segment is valid for the content type properties.
Declarationbool SupportsPropertyVariation(string culture, string segment, bool wildcards = false)
Parameters Type Name Description System.String culture
The culture.
System.String segmentThe segment.
System.Boolean wildcardsA value indicating whether wildcard are supported.
Returns Type Description System.BooleanTrue if the combination is valid; otherwise false.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4