Cell style properties
These properties are children of the Cell property.
Properties
BgColor
The background color of the control or label.
Valid values: See
Color values.
Data type: String
BorderBottomColor
The color of the bottom border of the control or label.
Valid values: See
Color values.
Data type: String
BorderBottomStyle
The style of the bottom border of the control or label. See
Border styles for an example of each style.
Valid values: Double, Grove, Inset, None, Outset, Ridge, or Solid.
Data type: Enumeration
BorderBottomWidth
The width in pixels of the bottom border of the control or label.
Valid values: A positive integer.
Data type: Integer
BorderColor
The color of the border of the control or label.
Valid values: See
Color values.
Data type: String
BorderLeftColor
The color of the left border of the control or label.
Valid values: See
Color values.
Data type: String
BorderLeftStyle
The style of the left border of the control or label. See
Border styles.
Valid values: Double, Grove, Inset, None, Outset, Ridge, or Solid.
Data type: Enumeration
BorderLeftWidth
The width in pixels of the left border of the control or label.
Valid values: A positive integer.
Data type: Integer
BorderRightColor
The color of the right border of the control or label.
Valid values: See
Color values.
Data type: String
BorderRightStyle
The style of the right border of the control or label. See
Border styles.
Valid values: Double, Grove, Inset, None, Outset, Ridge, or Solid.
Data type: Enumeration
BorderRightWidth
The width in pixels of the right border of the control or label.
Valid values: A positive integer.
Data type: Integer
BorderStyle
The style of the border of the control or label. This is the default property for the Cell object. See
Border styles.
Valid values: Double, Grove, Inset, None, Outset, Ridge, or Solid.
Data type: Enumeration
BorderTopColor
The color of the top border of the control or label.
Valid values: See
Color values.
Data type: String
BorderTopStyle
The style of the top border of the control or label. See
Border styles.
Valid values: Double, Grove, Inset, None, Outset, Ridge, or Solid.
Data type: Enumeration
BorderTopWidth
The width in pixels of the top border of the control or label.
Valid values: A positive integer.
Data type: Integer
BorderWidth
The width in pixels of the border of the control or label.
Valid values: A positive integer.
Data type: Integer
Colspan
The number of columns to use in the parent grid when displaying the control.
Valid values: A positive integer.
Data type: Integer
Height
The vertical size of the control or label. If no units are specified, pixels (“px”) will be used.
Valid values: See
Units of length.
Data type: String
Padding
The distance in pixels between the contents and the border of the control or label.
Valid values: A positive integer.
Data type: Integer
PaddingBottom
The distance in pixels between the contents and the bottom border of the control or label.
Valid values: A positive integer.
Data type: Integer
PaddingLeft
The distance in pixels between the contents and the left border of the control or label.
Valid values: A positive integer.
Data type: Integer
PaddingRight
Defines the distance (in pixels) between the contents and the right border of the control or label.
Valid values: A positive integer.
Data type: Integer
PaddingTop
The distance in pixels between the contents and the top border of the control or label.
Valid values: A positive integer.
Data type: Integer
RepeatHeader
The number of rows in a grid control that will be used to display the heading. To make the heading appear at the bottom of the grid, set this property to zero.
Valid values: A positive integer or zero.
Data type: Integer
RowSpan
The number of rows to use in the parent grid when displaying the control.
Valid values: A positive integer.
Data type: Integer
Width
The horizontal size of the control or label. If no units are specified, pixels (“px”) will be used.
Valid values: See
Units of length.
Data type: String
Wrap
Whether child controls within the parent control should automatically appear on the next line when the parent control is not wide enough to show them all on one line.
Valid values: True or False.
Data type: Boolean
Example
The following example shows how cell style properties should be defined in mrScriptMetadata:
Q2 "Rating" Style ( Cell ( BorderColor = "Blue", BorderStyle = Double ) ) categorical [1] {High, Medium, Low};
Because BorderStyle is the default child property, it can also be defined using a shortened form, as shown in the following example. However, if you define BorderStyle in this way, you cannot define any other cell style properties.
Q2 "Rating" Style ( Cell = Double ) categorical [1] {High, Medium, Low};
See