AcceptMediaTypeAttribute |
Specifies the media types that are accepted for file uploads for this property. Can only be set on IFileDescriptor (derived) property types.
|
AllowAtRootAttribute |
Specifies that this content type model can be used for the root page in a site or a root item in an asset library.
|
AllowChildrenAttribute |
Specifies the content types that children of this content type are allowed to have in the page or library hierarchy. Derived content types are not included automatically and must be specified explicitly.
|
AllowContentTypeAttribute |
Indicates which content view models are allowed to be added to this property.
|
AllowViewAttribute |
Specifies a view that can be selected for this content type model.
|
AssetAttribute |
Specifies that this model represents an Asset node contained in an Asset Library.
|
CheckboxAttribute |
Uses a checkbox editor for this property in the Redakt back office.
|
ColorEditorAttribute |
Renders a color editor for this property.
|
CultureDependentAttribute |
Specifies that this property has separate values per culture, instead of a single value for all cultures. This attribute overwrites any previous settings for linkable cultures.
|
DateTimeEditorAttribute |
Renders a date/time editor for this property. If the style is not set, the editor only allows date selection (without time) by default.
|
DefaultSectionAttribute |
Specifies the default section name for properties that do not have a section explicitly set. If this attribute is ommitted, the default section name is "Content".
|
DefaultValueAttribute |
Sets the default value for the property editor in the Redakt back office if the value is undefined.
|
DisplayNameAttribute |
Sets the label for the property editor in the Redakt backoffice. If omitted, the label will be generated from the property name.
|
DisplayOnListAttribute |
Indicates that the value of the property will be displayed on the library list views in the Redakt back office. Only simple property types can have this attribute set.
|
DisplayOrderAttribute |
Sets the display order of the property in the back office user interface. Negative values are allowed. Default display order is 0 if not explicitly set. Properties with the same display order will maintain the order they have in the encapsulating class.
|
EditableForAttribute |
Sets the user groups that are allowed to edit this property in the back office. For any user that is not part of at least one of the provided user groups this property will be read-only.
|
EditorAttribute |
Specifies the editor component type to use for this property. This attribute overrides all automatic editor selection mechanisms.
|
EmbeddedAttribute |
Specifies that this property will be embedded into its master content. Can only be set on single content model (IContentType) based properties.
|
EnableLinkToCultureAttribute |
Specifies that the value of this property can be linked to another culture in the back office.
|
EnableLinkToNeutralCulture |
Specifies that the value of this property can be linked to the neutral culture of the currently selected culture in the back office.
|
ExpandedAttribute |
|
FileUploadAttribute |
Indicates that this content view model can be created through a media upload in the back office, optionally providing a custom upload handler.
|
FolderAttribute |
Specifies that this model represents a Folder node contained in an Asset Library.
|
GridViewAttribute |
|
HelpTextAttribute |
Sets the help text that will be displayed below the property label in the Redakt backoffice. In contrast to TooltipAttribute, the help text will always be displayed, even when the label is hidden with HideLabelAttribute.
|
HideLabelAttribute |
Specifies that the property label should be hidden in the back office user interface. This can be useful for checkbox editors that have their own checkbox label.
|
HttpHeaderAttribute |
Sets a response HTTP header value. Only applies to page content types.
|
IconAttribute |
Sets the icon to be displayed for a page, asset or content property in the Redakt back office.
|
IgnoreMemberAttribute |
Indicates that this property will be ignored by Redakt. It will not show up in the backoffice or be saved to the data store. This can be useful for computed properties that are only used in templates.
|
InlineAttribute |
Specifies that this property will be displayed inline with other properties with the same line name in the back office.
|
KeyAttribute |
Sets the unique key that is used to save the property value to the data store. This is useful if the property name has been changed, but content was already stored with the previous key. If omitted, the key is equal to the property name. Changing the key will lead to all previous values of this property being inaccessible.
|
LinkEditorAttribute |
|
ListViewAttribute |
|
MaxCountAttribute |
Sets the maximum number of items allowed for this property. Only applies to collection properties. This is only enforced in the back office user interface; from code it is possible to add more items than the specified maximum.
|
MediaTypeAttribute |
Specifies the default Content-Type HTTP header value for the response of the page.
|
MinCountAttribute |
Sets the minimum number of items allowed for this property. Only applies to collection properties. This is only enforced in the back office user interface; from code it is possible to add more fewer than the specified minimum.
|
MultilineAttribute |
Configures the editor as a multiline text box (textarea). Can only be applied to string properties (including HtmlString") />.
|
NodePickerAttribute |
Specifies that this property should use a node picker editor type. This editor type can only be set on string , IPublishedContent, or IContentType-derived properties (or collections thereof).
|
NumberEditorAttribute |
Indicates that this property is a number and should be rendered as a number editor in the back office.
|
CurrencyAttribute |
|
PageAttribute |
Specifies that this class represents a Page content type. Pages are used as the view models for Razor views in your site.
|
PlaceholderAttribute |
Specifies a placeholder to display in case of empty property values. This attribute can be applied to most simple property types.
|
PrimaryMediaAttribute |
Specifies that this property is the primary media for the content type. This media will be used as thumbnail for the content in the back office, and as the upload target property for the default file upload handler (when used in combination with the FileUploadAttribute). Can only be set on IFileDescriptor property types. This attribute is only effective on content types with multiple file properties and does not need to be specified on content types with a single file property, as the single file property will be selected as the primary media property by default.
|
RadioGroupAttribute |
Renders a radio group editor for this property.
|
ReadOnlyAttribute |
Specifies that this is a read-only property. Editing the value will not be possible in the Redakt backoffice, however modifying the property can still be done from code.
|
ResponseCacheAttribute |
Sets the HTTP response cache expiration on seconds. Only applies to page content types.
|
RichTextEditorAttribute |
Uses a rich text (HTML) editor for this property. This is the default editor for HtmlString type properties.
|
RichTextEditorStylesAttribute |
Sets inline styles for the style dropdown of the rich text (HTML) editor. Has no effect on other editors. Add styles in the format "{displayLabel}|{cssStyle}|{className}". The class name is optional. If you set a class name, the css style is only used within the editor but not applied to the HTML content. If you omit a class name, the css style is used both for the editor and the HTML content. Example: "Extra padding|padding:1rem|p-md-3".
|
RichTextEditorToolbarFeatures |
|
RichTextEditorToolbarAttribute |
Sets the toolbar features of the rich text (HTML) editor. Has no effect on other editors.
|
SearchIndexAttribute |
|
SectionAttribute |
Specifies the section name that this property will be grouped under. If not specified, the property will be part of the default "Content" section.
|
SelectListAttribute |
Renders a select list editor for this property. Displays a multiple select list in case of a collection type, or a dropdown list otherwise. The option keys will be set as the property value. The member type may be string or any other simple type, provided the option key can be converted from string. Options can be set during compile-time by passing them in the constructor, or by passing an ISelectOptionsProvider type in the constructor to populate options during runtime.
|
SliderAttribute |
|
TableEditorAttribute |
|
TagsEditorAttribute |
Uses a tags editor for this property in the Redakt back office. Optionally supply a predefined tag list in the constructor or register an ISelectOptionsProvider implementation in the DI container to restrict available tags. If no predefined tags are supplied, the user can enter any value as tags.
|
TextEditorAttribute |
Configures the editor as a textbox. Can only be applied to string properties (including HtmlString") />.
|
TitleFormatAttribute |
Sets the title format for content of this type when rendered as nested content in the Redakt back office application.
Insert content property values with property keys in double curly braces (case insensitive), for example: "{{FirstName}} {{LastName}}".
If omitted, the property display name will be used. This class cannot be inherited.
|
ToggleAttribute |
Uses a checkbox editor for this property in the Redakt back office.
|
TooltipAttribute |
Sets the popup tooltip that will be displayed alongside the property label in the Redakt back office. The tooltip will not be rendered if the HideLabelAttribute is set.
|
WidthAttribute |
Specifies the width of the editor. The default editor width will be used if not set. This attribute applies to most editors.
|
WorkflowAttribute |
Specifies which workflow should be enabled for this model. Defaults to edit/approve/publish for page types, and always publish for asset types.
|