SdtDropDownListBase module

class SdtDropDownListBase.SdtDropDownListBase

Bases: SdtControlProperties

Represents a base class for drop-down list content controls in a Word document.

property LastValue: str

Gets or sets the last selected value of the drop-down list content control. :returns: A string representing the last selected value.

property ListItems: SdtListItemCollection

Provides access to all list items of this drop-down list content control. :returns: An instance of SdtListItemCollection representing the list items.