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

Customizing Listbox

Variables

The following table lists the available variables for customization.

NameTypeDefault valueComputed value
$kendo-listbox-spacingStringk-spacing(2)var(--kendo-spacing-2, 0.5rem)
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
WThe width of the ListBox.
$kendo-listbox-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, normal )var(--kendo-font-family, normal)
Description
The font family of the ListBox.
$kendo-listbox-font-sizeStringvar( --kendo-font-size, inherit )var(--kendo-font-size, inherit)
Description
The font size of the ListBox.
$kendo-listbox-line-heightStringvar( --kendo-line-height, normal )var(--kendo-line-height, normal)
Description
The line height of the ListBox.
$kendo-listbox-textStringvar( --kendo-component-text, inherit )var(--kendo-component-text, inherit)
Description
The text color of the ListBox.
$kendo-listbox-bgStringvar( --kendo-component-bg, transparent )var(--kendo-component-bg, transparent)
Description
The background color of the ListBox.
$kendo-listbox-borderStringvar( --kendo-component-border, inherit )var(--kendo-component-border, inherit)
Description
The border color of the ListBox.
$kendo-listbox-drop-hint-widthNumber1px1px
Description
The width of the ListBox drop hint.
$kendo-listbox-drop-hint-border-colorStringif($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 ))var(--kendo-color-primary, #0078d4)
Description
The border color of the ListBox drop hint.

In this article

Not finding the help you need?