Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In this illustration, there is no custom Row Decoration. The positions of Row Title and the Row Counter are specified relative to the origin of each ZoomRowItem by the rowTitleOffset and the rowCounterOffset fields, respectively. The Row Counter is right-aligned, so its right edge is located at the X coordinate of the rowCounterOffset. 

Image RemovedImage Added

Custom Row Decoration

...

Also note that in this case, the itemClippingRect is set to reveal partial items to the left of the origin of the ZoomRowList. Since the first row contains enough items to wrap, the partial items are shown. In the second row, there are not enough items to wrap, so all the items are fully visible and no duplicate partial items are shown.

Image RemovedImage Added

ZoomRowList Fields

...

If a RowDecorationComponentName is specfiedspecified, an instance of this component is created as a child of each visible row's ZoomRowItem.

...

Note that the fields are updated in the order presented in the table below. Most notably, when the itemContent field is set initially, the other fields will have valid values. This allows the script 's to be made more efficient by delaying computations until the itemContent field is set in some cases.

Field Name

Field Type

Description

widthfloat

Read-Only
Set to the width of the row as specified in the ZoomRowList's rowWidth field.

heightfloat

Read-Only
Set to the height of the ZoomRowItem.

rowFocusedinteger

Read-Only

Set to the index of the currently focused Item when the ZoomRowList's rowFocused field is set.

rowCounterTextstring

Read-Only
Set to the text that is displayed by the Row Counter. This would typically be used if the default Row Counter is not shown and the row decoration component displays that information in another way.

rowContentContentNode

Read-Only

Contains the ContentNode associated with the Row.

rowFocusPercentfloatRead-Only
A fractional value that smoothly changes from 0.0 to 1.0 as the Item's Row gains focus and from 1.0 to 0.0 as the Item's Row loses focus. This value is typically used in the item's XML component to smoothly change some aspect of the Item's appearance as it's Row moves vertically in and out of the focus position.
rowHeightPercentfloat

Read-Only
A fractional value that smoothly changes from 0.0 to 1.0 as the height of item's in the the row animate between their unfocused height (rowHeightPercent=0.0) and focused height (rowHeightPercent=1.0) while gaining/losing focus. This value is typically used in the item's XML component to smoothly change some aspect of the Item's appearance as it's Row moves vertically in and out of the focus position.

This field will have the same value as rowFocusPercent unless the remainZoomedAboveFocus field is set to "never" or if the zoomed andunzoomedheight and unzoomed height of a row are equal.