ApiContentControlList
class ApiContentControlList
Description
Class representing a list of values of the combo box / dropdown list content control.
Instance Methods
- GetClassType
(): contentControlList
Returns a type of the ApiContentControlList class.
- GetAllItems
(): ApiContentControlListEntry[]
Returns a collection of items (the ApiContentControlListEntry objects) of the combo box / dropdown list content control.
- GetElementsCount
(): number
Returns a number of items of the combo box / dropdown list content control.
- GetParent
(): ApiInlineLvlSdt | ApiBlockLvlSdt
Returns a parent of the combo box / dropdown list content control.
- Add
(sText, sValue, nIndex): boolean
Adds a new value to the combo box / dropdown list content control.
- Clear
()
Clears a list of values of the combo box / dropdown list content control.
- GetItem
(nIndex): ApiContentControlListEntry
Returns an item of the combo box / dropdown list content control by the position specified in the request.