New to Kendo UI for Vue? Start a free 30-day trial

Customizing Listview

Variables

The following table lists the available variables for customization.

NameTypeDefault valueComputed value
$kendo-listview-padding-xmap.get( $kendo-spacing, 1 )
Description
The horizontal padding of the ListView.
$kendo-listview-padding-ymap.get( $kendo-spacing, 1 )
Description
The vertical padding of the ListView.
$kendo-listview-border-width1px
Description
The width of the border around bordered ListView.
$kendo-listview-header-padding-xmap.get( $kendo-spacing, 4 )
Description
The horizontal padding of the ListView header.
$kendo-listview-header-padding-ymap.get( $kendo-spacing, 2 )
Description
The vertical padding of the ListView header.
$kendo-listview-footer-padding-x$kendo-listview-header-padding-x
Description
The horizontal padding of the ListView footer.
$kendo-listview-footer-padding-y$kendo-listview-header-padding-y
Description
The vertical padding of the ListView footer.
$kendo-listview-item-padding-xmap.get( $kendo-spacing, 1 )
Description
The horizontal padding of the ListView items.
$kendo-listview-item-padding-ymap.get( $kendo-spacing, 1 )
Description
The vertical padding of the ListView items.
$kendo-listview-font-familyvar( --kendo-font-family, initial )
Description
The font family of the ListView.
$kendo-listview-font-sizevar( --kendo-font-size, initial )
Description
The font size of the ListView.
$kendo-listview-line-heightvar( --kendo-line-height, initial )
Description
The line height of the ListView.
$kendo-listview-grid-gapmap.get( $kendo-spacing, 0 )
Description
The gap between items of ListView with grid layout.
$kendo-listview-textvar( --kendo-component-text, initial )
Description
The text color of the ListView.
$kendo-listview-bgvar( --kendo-component-bg, initial )
Description
The background color of the ListView.
$kendo-listview-bordervar( --kendo-component-border, initial )
Description
The border color of the ListView.
$kendo-listview-header-textinitial
Description
The text color of the ListView header.
$kendo-listview-header-bginitial
Description
The background color of the ListView header.
$kendo-listview-header-border$kendo-listview-border
Description
The border color of the ListView header.
$kendo-listview-footer-textinitial
Description
The text color of the ListView footer.
$kendo-listview-footer-bginitial
Description
The background color of the ListView footer.
$kendo-listview-item-selected-textinitial
Description
The text color of the selected ListView items.
$kendo-listview-item-selected-bgif($kendo-enable-color-system, k-color( base-active ), k-get-theme-color-var( neutral-20 ))
Description
The background color of the selected ListView items.
$kendo-listview-item-focus-textinitial
Description
The text color of the focused ListView items.
$kendo-listview-item-focus-bginitial
Description
The background color of the focused ListView items.
$kendo-listview-item-focus-shadowvar( --kendo-list-item-focus-shadow, $kendo-list-item-focus-shadow )
Description
The box shadow of the focused ListView items.

In this article

Not finding the help you need?