[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Forms.IListBox.SelectionMode

SelectionMode Property

SelectionMode

Gets or sets the selection mode.

Declaration
SelectionMode SelectionMode { get; set; }
Property SelectionMode As SelectionMode
Examples
IListBox listBox = worksheet.Controls.AddListBox(50, 100, 120, 80);
listBox.Items.Add(new ListBoxItem("Apple"));
listBox.SelectionMode = SelectionMode.Extended;
SelectionMode mode = listBox.SelectionMode;