Class DynamicStructureLevel
- Namespace
- Dynamicweb.Indexing.DynamicStructuring
- Assembly
- Dynamicweb.Core.dll
The class represents single level for DynamicStructure
public class DynamicStructureLevel
- Inheritance
-
DynamicStructureLevel
- Inherited Members
Constructors
DynamicStructureLevel()
Initializes a new instance of the class.
public DynamicStructureLevel()
DynamicStructureLevel(Guid, string, SortDirection, int)
Initializes a new instance of the class.
public DynamicStructureLevel(Guid structureId, string field, SortDirection sortDirection, int index)
Parameters
structureIdGuidRelated DynamicStructure id.
fieldstringThe level source field.
sortDirectionSortDirectionThe sorting direction.
indexintThe index of level.
Properties
FieldSortDirection
Gets or sets the sorting direction for SourceField
public SortDirection FieldSortDirection { get; set; }
Property Value
Id
Gets or sets the level id.
public int Id { get; set; }
Property Value
Index
Gets or sets the level index
public int Index { get; set; }
Property Value
SourceField
Gets or sets the related field of the dynamic structure.
public string? SourceField { get; set; }
Property Value
StructureId
Gets or sets the related structure id.
public Guid StructureId { get; set; }
Property Value
UseCompleteness
Gets or sets value indicating whether or not created product from this level will be assigned to group, if the structure based on groups.
public bool UseCompleteness { get; set; }
Property Value
UseRelationOnProductCreate
Gets or sets value indicating whether or not created product from this level will be assigned to group, if the structure based on groups.
public bool UseRelationOnProductCreate { get; set; }
Property Value
Value
Gets or sets the dynamic level value
public string? Value { get; set; }
Property Value
ValueCount
Gets or sets the dynamic level value label
public long ValueCount { get; set; }
Property Value
ValueLabel
Gets or sets the dynamic level value label
public string? ValueLabel { get; set; }