property Layer.Width as String
Specifies the expression relative to the view, to determine the width to show the current layer on the control.

TypeDescription
String A String value that specifies the expression relative to the view, to determine the width to show the current layer on the control.

By default, the Width property is "width". If the Width property is empty, missing or invalid, it is considered "width". If valid, the value of evaluating the Width property indicates the width of the layer as shown in the picture bellow. Use the DefaultLayer(exDefLayerWidth) property to specify the default value for the Width property, before adding any layer. The LayerAutoSize property resizes all layers based on the picture of the first layer.

For instance:

The Width property supports the following keywords:

Also, this property supports all constants, operators and functions defined here.

The following properties determines the position / size / offset of the layer:

The following picture shows the position/size properties of the Layer, relative to the view / control:

You can use the following properties to offset the view ( background + foreground ) inside the layer:

The following properties can be used to move / resize the picture on the layer's background: