Class BlockGridConfiguration.BlockGridBlockConfiguration
Represents the configuration for a single block type in the Block Grid editor.
Inheritance
object
Namespace: Umbraco.Cms.Core.PropertyEditors
Assembly: Umbraco.Core.dll
Syntax
public class BlockGridConfiguration.BlockGridBlockConfiguration : IBlockConfiguration
Constructors
View SourceBlockGridBlockConfiguration()
Declaration
public BlockGridBlockConfiguration()
Properties
View SourceAllowAtRoot
Gets or sets a value indicating whether this block can be placed at the root level of the grid.
Declaration
public bool AllowAtRoot { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
AllowInAreas
Gets or sets a value indicating whether this block can be placed within areas of other blocks.
Declaration
public bool AllowInAreas { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
AreaGridColumns
Gets or sets the number of grid columns available within this block's areas.
Declaration
public int? AreaGridColumns { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
Areas
Gets or sets the configured areas within this block.
Declaration
public BlockGridConfiguration.BlockGridAreaConfiguration[] Areas { get; set; }
Property Value
| Type | Description |
|---|---|
| BlockGridAreaConfiguration[] |
ContentElementTypeKey
Gets or sets the unique key of the content element type for this block.
Declaration
public Guid ContentElementTypeKey { get; set; }
Property Value
| Type | Description |
|---|---|
| Guid |
SettingsElementTypeKey
Gets or sets the unique key of the settings element type for this block, if any.
Declaration
public Guid? SettingsElementTypeKey { get; set; }
Property Value
| Type | Description |
|---|---|
| Guid? |