Customizing Listbox

Variables

The following table lists the available variables for customization.

NameTypeDefault valueComputed value
$kendo-listbox-spacingStringk-spacing(3)var(--kendo-spacing-3, 0.75rem)
Description
The spacing between the ListBox elements.
$kendo-listbox-button-spacingStringk-spacing(2)var(--kendo-spacing-2, 0.5rem)
Description
The spacing between the ListBox buttons.
$kendo-listbox-widthNumber10em10em
Description
The width of the ListBox.
$kendo-listbox-default-heightNumber200px200px
Description
The height of the ListBox.
$kendo-listbox-border-widthNumber1px1px
Description
The width of the border around the ListBox.
$kendo-listbox-font-familyStringvar( --kendo-font-family, inherit )var(--kendo-font-family, inherit)
Description
The font family of the ListBox.
$kendo-listbox-font-sizeString$kendo-list-md-font-sizevar(--kendo-font-size, inherit)
Description
The font size of the ListBox.
$kendo-listbox-line-heightNumber$kendo-list-md-line-height1.4285714286
Description
The line height of the ListBox.
$kendo-listbox-textString$kendo-component-textvar(--kendo-color-on-app-surface, #212121)
Description
The text color of the ListBox.
$kendo-listbox-bgString$kendo-component-bgvar(--kendo-color-surface-alt, #ffffff)
Description
The background color of the ListBox.
$kendo-listbox-borderString$kendo-component-bordervar(--kendo-color-border, rgba(0, 0, 0, 0.12))
Description
The border color of the ListBox.
$kendo-listbox-item-padding-xString$kendo-list-md-item-padding-xvar(--kendo-spacing-4, 1rem)
Description
The inline padding of the ListBox item.
$kendo-listbox-item-padding-yString$kendo-list-md-item-padding-yvar(--kendo-spacing-2, 0.5rem)
Description
The block padding of the ListBox item.
$kendo-listbox-drop-hint-widthNumber2px2px
Description
The width of the ListBox drop hint.
$kendo-listbox-drop-hint-border-widthNumber2px2px
Description
The width of the border around the ListBox drop hint.

In this article

Not finding the help you need?