ASP.NET Core

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class WDropDownCollection - ASP.NETCore API Reference | Syncfusion WDropDownItem objects. ">

    Show / Hide Table of Contents

    Class WDropDownCollection

    Represent a collection of WDropDownItem objects.

    Inheritance
    System.Object
    OwnerHolder
    CollectionImpl
    WDropDownCollection
    Implements
    System.Collections.IEnumerable
    Inherited Members
    CollectionImpl.GetEnumerator()
    CollectionImpl.Count
    OwnerHolder.m_doc
    OwnerHolder.Document
    Namespace: Syncfusion.DocIO.DLS
    Assembly: Syncfusion.DocIO.Portable.dll
    Syntax
    public class WDropDownCollection : CollectionImpl, IEnumerable

    Constructors

    WDropDownCollection(WordDocument)

    Initializes a new instance of the WDropDownCollection class.

    Declaration
    public WDropDownCollection(WordDocument doc)
    Parameters
    Type Name Description
    WordDocument doc

    The doc.

    Properties

    Item[Int32]

    Gets the WDropDownItem at the specified index.

    Declaration
    public WDropDownItem this[int index] { get; }
    Parameters
    Type Name Description
    System.Int32 index
    Property Value
    Type Description
    WDropDownItem

    Methods

    Add(String)

    Adds the item.

    Declaration
    public WDropDownItem Add(string text)
    Parameters
    Type Name Description
    System.String text

    The text.

    Returns
    Type Description
    WDropDownItem

    Clear()

    Clears this instance.

    Declaration
    public void Clear()

    Remove(Int32)

    Removes DropDownItems by index.

    Declaration
    public void Remove(int index)
    Parameters
    Type Name Description
    System.Int32 index

    The index.

    Implements

    System.Collections.IEnumerable
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved