Class BlockListConfiguration
The configuration object for the Block List editor
Inheritance
object
Namespace: Umbraco.Cms.Core.PropertyEditors
Assembly: Umbraco.Core.dll
Syntax
public class BlockListConfiguration
Constructors
View SourceBlockListConfiguration()
Declaration
public BlockListConfiguration()
Properties
View SourceBlocks
Gets or sets the available block type configurations.
Declaration
[ConfigurationField("blocks")]
public BlockListConfiguration.BlockConfiguration[] Blocks { get; set; }
Property Value
| Type | Description |
|---|---|
| BlockConfiguration[] |
UseSingleBlockMode
Gets or sets a value indicating whether single block mode is enabled.
Declaration
[ConfigurationField("useSingleBlockMode")]
[Obsolete("Use SingleBlockPropertyEditor and its configuration instead")]
public bool UseSingleBlockMode { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
ValidationLimit
Gets or sets the validation limit for the number of blocks.
Declaration
[ConfigurationField("validationLimit")]
public BlockListConfiguration.NumberRange ValidationLimit { get; set; }
Property Value
| Type | Description |
|---|---|
| BlockListConfiguration.NumberRange |