2.4.4. Common Properties

The common properties shared by all controls include:

Background, Border and Margin

Background

A color for the background of the control.

Border

A color for the border of the background of the control.

Border Thickness

The thickness of the background border, in pixels, for the left, top, right, and bottom borders, respectively. Adding to this thickness will reduce the visible size of the control.

Border Corner Radius

The radius of each corner of the background border, in pixels, for the top-left, top-right, bottom-right, and bottom-left corners, respectively.

Inner Border, Thickness, and Corner Radius

These are the same as for the Border, but for a separate inner border.

Content Margin

The width of the margins, in pixels, for the left, top, right, and bottom borders, respectively. Adding to this width will reduce the visible size of the control.

Background Image

Image File

A file to use for a background, selected from the drop-down list. To add images to the DataHub WebView library, you can copy your image files to the following directory:

[OrgLocal]\Images
Image Width

The width of the image, in pixels.

Image Height

The height of the image, in pixels.

Image Alignment

Aligns the background image with a corner, side, or middle of the control, or stretches it to fill the whole area.

Image Opacity

A number between 0 (transparent) and 1 (fully opaque).

Image Margin

The width of the margins, in pixels, for the left, top, right, and bottom sides of the image, respectively. Adding to this width will reduce the visible size of the image.

Image Rotation

A number of degrees to rotate the image to the right. The image is static unless this value is bound to a variable.

Flip X-Axis

Flip the image top-to-bottom.

Flip Y-Axis

Flip the image right-to-left.

Content Visibility and Appearance

Visible in Run Mode

Will this control be visible in Run mode?

Content Opacity

A number between 0 (transparent) and 1 (fully opaque).

Opaque on hover (Run mode)

Causes the control to be visible when the mouse hovers over it in Run mode.

Static Rotation (degrees)

A number of degrees to rotate the control to the right.

Maintain Uniform Size for Static Rotation

Prevents the control from changing size to fit its container when rotated.

Clip Content

Ensures that no part of the control renders outside its bounding rectangle, as when rotating a control or using a negative margin.

Flip X-Axis

Flip the content of the control top-to-bottom.

Flip Y-Axis

Flip the content of the control left-to-right.

Position and Size

Left

A number of pixels specifying the distance of the top left corner of the control from the left side of the page.

Top

A number of pixels specifying the distance of the top left corner of the control from the top of the page.

Width

A number of pixels specifying the width of the control.

Height

A number of pixels specifying the height of the control.

Locked

Avoids inadvertently changing the size or position of the control.

Fit Page

Have the control fill the page, behind the other controls.

Content Animation

Is Content Rotating

Specifies if the control content rotates.

Animated Rotation (rpm)

Specifies the speed, in rotations per minute, of the control content.