Represents a Windows Forms ListBox that can be added to a Microsoft Office Excel worksheet.
[System.ComponentModel.DefaultEvent("SelectedIndexChanged")] [System.ComponentModel.DefaultProperty("Items")] [System.ComponentModel.ToolboxItem(false)] public class ListBox : System.Windows.Forms.ListBox
The Microsoft.Office.Tools.Excel.Controls.ListBox is different from a System.Windows.Forms.ListBox. The Microsoft.Office.Tools.Excel.Controls.ListBox has additional members that enable it to be added to an Excel worksheet and that give it additional methods and properties.
Gets the distance, in points, between the bottom edge of the ListBox and the top edge of the worksheet.
Gets a value that indicates the application in which the ListBox was created.
Gets or sets the height of the ListBox.
Gets or sets the distance, in points, between the left edge of the ListBox and the left edge of the worksheet.
Gets or sets a value that indicates whether the ListBox can be modified at design time when the sheet is protected.
Gets a value that represents the OLE object type.
Gets the parent object for the ListBox.
Gets or sets an object that indicates the way the ListBox is attached to the cells below it.
Gets or sets a value that indicates whether the ListBox is printed when the worksheet is printed.
Gets the distance, in points, between the right edge of the ListBox and the left edge of the worksheet.
Gets or sets the link source name of the ListBox.
Gets or sets the distance, in points, between the top edge of the ListBox and the top edge of the worksheet.
Gets or sets a value that represents whether the ListBox is visible.
Gets or sets the width of the ListBox in points.
Gets the z-order position of the ListBox.
Activates the ListBox.
Brings the ListBox to the front of the z-order.
Copies the ListBox to the Clipboard as a picture.
Selects the ListBox.
Sends the ListBox to the back of the z-order.
Sets the ListBox to the specified visible state.