The Clear removes all layers from the control. The Count property specifies the number of layers in the
control. The PicturesPath Specifies the path to load the pictures from.
The PicturesName property specifies the expression that indicates the name of the picture to be loaded on each layer.
The Item property of the Layers
collection accesses a Layer giving its index or key. The Index
property is read-only and zero-based, which indicates that the layer with the
Index property 0, it is the first layer, while the layer with the index Count
- 1, is the last layer in the control ( in z-order ).
The Background object holds pictures to
be shown on the layer's background. The Foreground
property of the Layer access the layer's Foreground object. The for each
statement can be used to enumerate Layer objects in the Layers collection.
The following properties can be used to remove layers within the
control:
Count property, adds / removes layers to / from the control.
For instance, Count property on 0, removes all layers from the control.
Clear removes all layers from the control.
Remove method, removes a layer from the
control based on its index or key.
The following properties can be used to access Layer objects in the
control:
Item property, gives the Layer object
based on its index / key. The Count property specifies the number of
layers within the control
VisibleItem property, gives the
visible layer based on its position. The VisibleCount
property indicates the number of visible layers within the control. The Visible
property shows or hides the layer. The ShowLayers
property indicates the only layers to be shown on the control.