Class Layer
- Namespace
- combit.Reporting.Dom
- Assembly
- combit.ListLabel31.CrossPlatform.dll
Represents a layer in a List & Label project. Layers allow for the separation of content, such as base, first page, and following pages, and can be conditionally shown, colored, and identified by unique IDs.
public class Layer : DomItemWithTemplateId
- Inheritance
-
Layer
- Inherited Members
Constructors
Layer(CollectionLayers)
Initializes a new instance of the Layer class and adds it to the specified CollectionLayers.
public Layer(CollectionLayers layerCollection)
Parameters
layerCollectionCollectionLayersThe collection of layers to add to.
Layer(CollectionLayers, int)
Initializes a new instance of the Layer class and inserts it at the specified index in the CollectionLayers.
public Layer(CollectionLayers layerCollection, int index)
Parameters
layerCollectionCollectionLayersThe collection of layers to add to.
indexintThe index at which to insert the layer.
Properties
Color
Gets or sets the color of the layer as a string representation.
public string Color { get; set; }
Property Value
Condition
Gets or sets the condition that determines when the layer is active.
public string Condition { get; set; }
Property Value
FromTemplate
Gets or sets a value indicating whether the layer is from a template.
public string FromTemplate { get; }
Property Value
LayerId
Gets or sets the unique identifier for the layer. The setter is only available in ghost mode.
public string LayerId { get; set; }
Property Value
Name
Gets or sets the name of the layer.
public string Name { get; set; }
Property Value
Visible
Gets or sets a value indicating whether the layer is visible.
public string Visible { get; set; }
Property Value
Methods
Initialize(CollectionLayers, int)
Initializes the layer within the specified CollectionLayers at the given index.
protected void Initialize(CollectionLayers layerCollection, int index)
Parameters
layerCollectionCollectionLayersThe collection of layers to initialize in.
indexintThe index at which to insert the layer.