Class SegmentSettings
Typed configuration options for segment settings.
Inheritance
object
Namespace: Umbraco.Cms.Core.Configuration.Models
Assembly: Umbraco.Core.dll
Syntax
public class SegmentSettings
Constructors
View SourceSegmentSettings()
Declaration
public SegmentSettings()
Properties
View SourceAllowCreation
Gets or sets a value indicating whether the creation of non-existing segments is allowed.
Declaration
[Obsolete("This functionality will be moved to a client-side extension. Scheduled for removal in Umbraco 19.")]
public bool AllowCreation { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Enabled
Gets or sets a value indicating whether the usage of segments is enabled.
Declaration
public bool Enabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |