Show contents 

Working with General Visual Components > Classes > Autocomplete > Autocomplete.MaxWidth

Autocomplete.MaxWidth

Syntax

getMaxWidth (target);

setMaxWidth (target, value);

Parameters

target. The control for which you need to get or set maximum width of the menu that contains autocomplete suggestions.

value. Maximum width value of the menu that contains autocomplete suggestions for specified item.

Description

The MaxWidth property sets and returns maximum width of the menu that contains autocomplete suggestions for specified control.

Comments

Use the setMaxHeight method to set the property value and the getMaxHeight method to get the property value. Property value cannot be set from JSON.

Example

The example of use is given in the page with description of the Autocomplete.MaxHeight property.

Autocomplete