Class BlockGridConfiguration
The configuration object for the Block Grid editor
Inheritance
object
Namespace: Umbraco.Cms.Core.PropertyEditors
Assembly: Umbraco.Core.dll
Syntax
public class BlockGridConfiguration
Constructors
View SourceBlockGridConfiguration()
Declaration
public BlockGridConfiguration()
Properties
View SourceBlocks
Gets or sets the configured blocks for the Block Grid editor.
Declaration
[ConfigurationField("blocks")]
public BlockGridConfiguration.BlockGridBlockConfiguration[] Blocks { get; set; }
Property Value
| Type | Description |
|---|---|
| BlockGridBlockConfiguration[] |
GridColumns
Gets or sets the number of grid columns available in the Block Grid.
Declaration
[ConfigurationField("gridColumns")]
public int? GridColumns { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
ValidationLimit
Gets or sets the validation limits for the number of blocks allowed.
Declaration
[ConfigurationField("validationLimit")]
public BlockGridConfiguration.NumberRange ValidationLimit { get; set; }
Property Value
| Type | Description |
|---|---|
| BlockGridConfiguration.NumberRange |