Click or drag to resize

DropDownCollection Class

Represent a collection of DropDownItem objects.
Inheritance Hierarchy

Namespace: Spire.Doc.Collections
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public class DropDownCollection : DocumentSerializableCollection

The DropDownCollection type exposes the following members.

Constructors
Name Description
Public method DropDownCollection
Initializes a new instance of the DropDownCollection class.
Top
Properties
Name Description
Public property Count
Gets the number of items in the collection.
(Inherited from CollectionEx .)
Public property Document
Gets the document.
(Inherited from OwnerHolder .)
Public property Item
Gets the [!:Spire.Doc.DropDownItem] at the specified index.
Top
Methods
Name Description
Public method Add
Adds the item.
Public method Clear
Clears this instance.
Protected method CreateItem (Overrides DocumentSerializableCollection CreateItem(IXDLSContentReader) .)
Public method Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object .)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object .)
Public method GetEnumerator
Returns an enumerator that iterates through a collection.
(Inherited from CollectionEx .)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object .)
Protected method GetTagItemName (Overrides DocumentSerializableCollection GetTagItemName .)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Protected method MemberwiseClone
Creates a shallow copy of the current Object .
(Inherited from Object .)
Public method Remove
Removes DropDownItems by index.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Top
Fields
Name Description
Protected field m_doc (Inherited from OwnerHolder .)
Top
See Also