Type | Description | |||
String | A String expression that validates the y-offset value of the layer. The result of evaluating the expression indicates the newly OffsetY value. |
The OffsetX / OffsetY property specifies the (x,y)-position of the layer, relative to the upper-left corner of the control. The Value property associates a value to a layer. The ValueToOffsetX property specifies the expression to convert the value to x-offset. The ValueToOffsetY property specifies the expression to convert the value to y-offset. For instance, you can use the OffsetYValid property on "0", and so no vertical movement is allowed for the current layer. Use the DefaultLayer(exDefLayerOffsetX) property to specify the default value for the OffsetX, before adding any layer. The Change event occurs when the layer's OffsetX property is changed. The DragStart / Drag / DragEnd events notify your application when a layer is dragged.
For instance:
The OffsetYValid property supports the following keywords:
Also, this property supports all constants, operators and functions defined here.
The following picture shows the position/size properties of the Layer, relative to the view / control:
The following properties determines the position / size / offset of the layer:
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: