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

    BackOfficeLogo

    Gets or sets a value for the path to the backoffice logo.

    Declaration
    public string BackOfficeLogo { get; set; }
    Property Value
    Type Description
    System.String
    Remarks

    The alternative version of this logo can be found at BackOfficeLogoAlternative.

    View Source

    BackOfficeLogoAlternative

    Gets or sets a value for the path to the alternative backoffice logo, which can be shown on top of a light background.

    Declaration
    public string BackOfficeLogoAlternative { get; set; }
    Property Value
    Type Description
    System.String
    Remarks

    This is the alternative version to the regular logo found at BackOfficeLogo.

    View Source

    ContentVersionCleanupPolicy

    Gets 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

    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 shown on top of the background image set in LoginBackgroundImage.

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

    The alternative version of this logo can be found at LoginLogoImageAlternative.

    View Source

    LoginLogoImageAlternative

    Gets or sets a value for the path to the login screen logo image when shown on top of a light background (e.g. in mobile resolutions).

    Declaration
    public string LoginLogoImageAlternative { get; set; }
    Property Value
    Type Description
    System.String
    Remarks

    This is the alternative version to the regular logo found at LoginLogoImage.

    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
    View Source

    ShowUnroutableContentWarnings

    Gets or sets a value indicating whether to show unroutable content warnings.

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