[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Forms.ISelector-1.Items

Items Property

Items

Gets items of this control. The list is read-only if ItemsSourceRange exists.

Not fully supported by the *.ssjson and *.sjs format. Data could lose.

Declaration
IList<T> Items { get; }
ReadOnly Property Items As IList(Of T)
Examples
ISelector<DropDownItem> selector = worksheet.Controls.AddDropDown(20, 20, 120, 20);
selector.Items.Add(new DropDownItem("Pending"));
selector.Items.Add(new DropDownItem("Approved"));
IList<DropDownItem> items = selector.Items;