Skip to main content

List Controls

ListView

ListView is a table-style UI element that displays rows from a Host:ListViewModel.

skin.xml Snippet:

<ListView name="list" height="400" width="500"/>
Attribute NameDescriptionType
attachLayout attachment/alignment.token
heightExplicit height.number
headerstyleHeader style reference.identifier
hscroll.styleHorizontal scrollbar style reference.identifier
nameBinds to the controller-owned Host:ListViewModel property.identifier
optionsVisual and behavioral options.token
persistence.idPersistent layout state key.identifier
scrolloptionsScrollbar rendering.token
sizePosition and size geometry.tuple
sizelimitsDefines size limits.tuple
styleStyle reference.identifier
viewtypeView presentation mode.identifier
vscroll.styleVertical scrollbar style reference.identifier
titleDisplay title.text
tooltipTooltip text.text
widthExplicit width.number
optionsDescription
columnfocus-
exclusiveEnables exclusive selection behavior.
extendlastcolumn-
headerShows the header row.
hide-
mousescroll-
nodoubleclick-
nodragDisables dragging.
nofocus-
nolinebreak-
nounselect-
norubber-
resizedraw-
selectionEnables row selection behavior.
simplemouse-
swallowalphachars-
thumbnails-
translucent-
transparent-
vertical-
scrolloptionsDescription
autobuttonshAuto button show/hide.
autohidebothAuto-hide both scrollbars.
autohidehAuto-hide horizontal scrollbar.
autohidevAuto-hide vertical scrollbar.
borderScrollbar border.
horizontalRenders horizontal scrollbar.
noscreenscrollDisables screen scrolling.
smallUses smaller UI metrics.
transparentRenders transparent background.
verticalRenders vertical scrollbar.

Notes

  • The controller must expose a list property containing the Host:ListViewModel instance.
  • See Host:ListViewModel for the documented Host:ListViewModel binding path.