Search Results for

    Show / Hide Table of Contents
    View Source

    Class ContentSettings

    Typed configuration options for content settings.

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.Configuration.Models
    Assembly: Umbraco.Core.dll
    Syntax
    public class ContentSettings

    Properties

    View Source

    AllowEditInvariantFromNonDefault

    Gets or sets a value indicating whether to allow editing invariant properties from a non-default language variation.

    Declaration
    public bool AllowEditInvariantFromNonDefault { get; set; }
    Property Value
    Type Description
    System.Boolean
    View Source

    AllowedMediaHosts

    Gets or sets the allowed external host for media. If empty only relative paths are allowed.

    Declaration
    public string[] AllowedMediaHosts { get; set; }
    Property Value
    Type Description
    System.String[]
    View Source

    AllowedUploadedFileExtensions

    Gets or sets a value for the collection of file extensions that are allowed for upload.

    Declaration
    public string[] AllowedUploadedFileExtensions { get; set; }
    Property Value
    Type Description
    System.String[]
    View Source

    AllowedUploadFiles

    Gets or sets a value for the collection of file extensions that are allowed for upload.

    Declaration
    public IEnumerable<string> AllowedUploadFiles { get; set; }
    Property Value
    Type Description
    IEnumerable<System.String>
    View Source

    ContentVersionCleanupPolicy

    Get or sets the model representing the global content version cleanup policy

    Declaration
    public ContentVersionCleanupPolicySettings ContentVersionCleanupPolicy { get; set; }
    Property Value
    Type Description
    ContentVersionCleanupPolicySettings
    View Source

    DisableDeleteWhenReferenced

    Gets or sets a value indicating whether to disable the deletion of items referenced by other items.

    Declaration
    public bool DisableDeleteWhenReferenced { get; set; }
    Property Value
    Type Description
    System.Boolean
    View Source

    DisableUnpublishWhenReferenced

    Gets or sets a value indicating whether to disable the unpublishing of items referenced by other items.

    Declaration
    public bool DisableUnpublishWhenReferenced { get; set; }
    Property Value
    Type Description
    System.Boolean
    View Source

    DisallowedUploadedFileExtensions

    Gets or sets a value for the collection of file extensions that are disallowed for upload.

    Declaration
    public string[] DisallowedUploadedFileExtensions { get; set; }
    Property Value
    Type Description
    System.String[]
    View Source

    DisallowedUploadFiles

    Gets or sets a value for the collection of file extensions that are disallowed for upload.

    Declaration
    public IEnumerable<string> DisallowedUploadFiles { get; set; }
    Property Value
    Type Description
    IEnumerable<System.String>
    View Source

    Error404Collection

    Gets or sets a value for the collection of error pages.

    Declaration
    public ContentErrorPage[] Error404Collection { get; set; }
    Property Value
    Type Description
    ContentErrorPage[]
    View Source

    HideBackOfficeLogo

    Gets or sets a value indicating whether to hide the backoffice umbraco logo or not.

    Declaration
    public bool HideBackOfficeLogo { get; set; }
    Property Value
    Type Description
    System.Boolean
    View Source

    Imaging

    Gets or sets a value for the content imaging settings.

    Declaration
    public ContentImagingSettings Imaging { get; set; }
    Property Value
    Type Description
    ContentImagingSettings
    View Source

    LoginBackgroundImage

    Gets or sets a value for the path to the login screen background image.

    Declaration
    public string LoginBackgroundImage { get; set; }
    Property Value
    Type Description
    System.String
    View Source

    LoginLogoImage

    Gets or sets a value for the path to the login screen logo image.

    Declaration
    public string LoginLogoImage { get; set; }
    Property Value
    Type Description
    System.String
    View Source

    MacroErrors

    Gets or sets a value for the macro error behaviour.

    Declaration
    public MacroErrorBehaviour MacroErrors { get; set; }
    Property Value
    Type Description
    MacroErrorBehaviour
    View Source

    Notifications

    Gets or sets a value for the content notification settings.

    Declaration
    public ContentNotificationSettings Notifications { get; set; }
    Property Value
    Type Description
    ContentNotificationSettings
    View Source

    PreviewBadge

    Gets or sets a value for the preview badge mark-up.

    Declaration
    public string PreviewBadge { get; set; }
    Property Value
    Type Description
    System.String
    View Source

    ResolveUrlsFromTextString

    Gets or sets a value indicating whether URLs should be resolved from text strings.

    Declaration
    public bool ResolveUrlsFromTextString { get; set; }
    Property Value
    Type Description
    System.Boolean
    View Source

    ShowDeprecatedPropertyEditors

    Gets or sets a value indicating whether deprecated property editors should be shown.

    Declaration
    public bool ShowDeprecatedPropertyEditors { get; set; }
    Property Value
    Type Description
    System.Boolean
    View Source

    ShowDomainWarnings

    Gets or sets a value indicating whether to show domain warnings.

    Declaration
    public bool ShowDomainWarnings { get; set; }
    Property Value
    Type Description
    System.Boolean
    • Improve this Doc
    • View Source
    In This Article
    • Properties
      • AllowEditInvariantFromNonDefault
      • AllowedMediaHosts
      • AllowedUploadedFileExtensions
      • AllowedUploadFiles
      • ContentVersionCleanupPolicy
      • DisableDeleteWhenReferenced
      • DisableUnpublishWhenReferenced
      • DisallowedUploadedFileExtensions
      • DisallowedUploadFiles
      • Error404Collection
      • HideBackOfficeLogo
      • Imaging
      • LoginBackgroundImage
      • LoginLogoImage
      • MacroErrors
      • Notifications
      • PreviewBadge
      • ResolveUrlsFromTextString
      • ShowDeprecatedPropertyEditors
      • ShowDomainWarnings
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX