ListView Class
Represents a Windows Forms ListView that can be added to a Microsoft Office Excel worksheet.
Assembly: Microsoft.Office.Tools.Excel.v4.0.Utilities (in Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)
System::MarshalByRefObject
System.ComponentModel::Component
System.Windows.Forms::Control
System.Windows.Forms::ListView
Microsoft.Office.Tools.Excel.Controls::ListView
| Name | Description | |
|---|---|---|
![]() | AccessibilityObject | (Inherited from Control.) |
![]() | AccessibleDefaultActionDescription | (Inherited from Control.) |
![]() | AccessibleDescription | (Inherited from Control.) |
![]() | AccessibleName | (Inherited from Control.) |
![]() | AccessibleRole | (Inherited from Control.) |
![]() | Activation | (Inherited from ListView.) |
![]() | Alignment | (Inherited from ListView.) |
![]() | AllowColumnReorder | (Inherited from ListView.) |
![]() | AllowDrop | (Inherited from Control.) |
![]() | AltHTML | This API supports the product infrastructure and is not intended to be used directly from your code. |
![]() | Anchor | (Inherited from Control.) |
![]() | Application | Gets an Application object that represents the creator of the ListView. |
![]() | AutoArrange | (Inherited from ListView.) |
![]() | AutoScrollOffset | (Inherited from Control.) |
![]() | BackColor | (Inherited from ListView.) |
![]() | BackgroundImage | (Inherited from Control.) |
![]() | BackgroundImageLayout | (Inherited from Control.) |
![]() | BackgroundImageTiled | (Inherited from ListView.) |
![]() | BindingContext | (Inherited from Control.) |
![]() | Border | Gets a Border that represents the border of the ListView. |
![]() | BorderStyle | (Inherited from ListView.) |
![]() | Bottom | Gets the distance, in points, between the bottom edge of the ListView and the top edge of the worksheet. |
![]() | BottomRightCell | Gets a Range object that represents the cell that lies under the lower-right corner of the ListView. |
![]() | Bounds | (Inherited from Control.) |
![]() | CanEnableIme | (Inherited from Control.) |
![]() | CanFocus | (Inherited from Control.) |
![]() | CanRaiseEvents | (Inherited from Control.) |
![]() | CanSelect | (Inherited from Control.) |
![]() | Capture | (Inherited from Control.) |
![]() | CausesValidation | (Inherited from Control.) |
![]() | CheckBoxes | (Inherited from ListView.) |
![]() | CheckedIndices | (Inherited from ListView.) |
![]() | CheckedItems | (Inherited from ListView.) |
![]() | ClientRectangle | (Inherited from Control.) |
![]() | ClientSize | (Inherited from Control.) |
![]() | Columns | (Inherited from ListView.) |
![]() | CompanyName | (Inherited from Control.) |
![]() | Container | (Inherited from Component.) |
![]() | ContainsFocus | (Inherited from Control.) |
![]() | ContextMenu | (Inherited from Control.) |
![]() | ContextMenuStrip | (Inherited from Control.) |
![]() | Controls | (Inherited from Control.) |
![]() | Created | (Inherited from Control.) |
![]() | CreateParams | (Inherited from ListView.) |
![]() | Creator | Gets a value that indicates the application in which the ListView was created. |
![]() | Cursor | (Inherited from Control.) |
![]() | DataBindings | (Inherited from Control.) |
![]() | DefaultCursor | (Inherited from Control.) |
![]() | DefaultImeMode | (Inherited from Control.) |
![]() | DefaultMargin | (Inherited from Control.) |
![]() | DefaultMaximumSize | (Inherited from Control.) |
![]() | DefaultMinimumSize | (Inherited from Control.) |
![]() | DefaultPadding | (Inherited from Control.) |
![]() | DefaultSize | (Inherited from ListView.) |
![]() | DesignMode | (Inherited from Component.) |
![]() | DisplayRectangle | (Inherited from Control.) |
![]() | Disposing | (Inherited from Control.) |
![]() | Dock | (Inherited from Control.) |
![]() | DoubleBuffered | (Inherited from ListView.) |
![]() | Enabled | (Inherited from Control.) |
![]() | Events | (Inherited from Component.) |
![]() | Focused | (Inherited from Control.) |
![]() | FocusedItem | (Inherited from ListView.) |
![]() | Font | (Inherited from Control.) |
![]() | FontHeight | (Inherited from Control.) |
![]() | ForeColor | (Inherited from ListView.) |
![]() | FullRowSelect | (Inherited from ListView.) |
![]() | GridLines | (Inherited from ListView.) |
![]() | Groups | (Inherited from ListView.) |
![]() | Handle | (Inherited from Control.) |
![]() | HasChildren | (Inherited from Control.) |
![]() | HeaderStyle | (Inherited from ListView.) |
![]() | Height | Gets or sets the height of the ListView. |
![]() | HideSelection | (Inherited from ListView.) |
![]() | HotTracking | (Inherited from ListView.) |
![]() | HoverSelection | (Inherited from ListView.) |
![]() | ImeMode | (Inherited from Control.) |
![]() | ImeModeBase | (Inherited from Control.) |
![]() | Index | Gets the index number of the ListView within the collection of OLEObjects on the sheet. |
![]() | InsertionMark | (Inherited from ListView.) |
![]() | Interior | Gets an Interior object that represents the interior of the ListView. |
![]() | InvokeRequired | (Inherited from Control.) |
![]() | IsAccessible | (Inherited from Control.) |
![]() | IsDisposed | (Inherited from Control.) |
![]() | IsHandleCreated | (Inherited from Control.) |
![]() | IsMirrored | (Inherited from Control.) |
![]() | Items | (Inherited from ListView.) |
![]() | LabelEdit | (Inherited from ListView.) |
![]() | LabelWrap | (Inherited from ListView.) |
![]() | LargeImageList | (Inherited from ListView.) |
![]() | LayoutEngine | (Inherited from Control.) |
![]() | Left | Gets or sets the distance, in points, between the left edge of the ListView and the left edge of the worksheet. |
![]() | ListViewItemSorter | (Inherited from ListView.) |
![]() | Location | (Inherited from Control.) |
![]() | Locked | Gets or sets a value that indicates whether the ListView can be modified at design time when the sheet is protected. |
![]() | Margin | (Inherited from Control.) |
![]() | MaximumSize | (Inherited from Control.) |
![]() | MinimumSize | (Inherited from Control.) |
![]() | MultiSelect | (Inherited from ListView.) |
![]() | Name | (Inherited from Control.) |
![]() | OLEType | Gets a value that represents the OLE object type. |
![]() | OnAction | This API supports the product infrastructure and is not intended to be used directly from your code. |
![]() | OwnerDraw | (Inherited from ListView.) |
![]() | Padding | (Inherited from Control.) |
![]() | Parent | Gets the parent object for the ListView. |
![]() | Placement | Gets or sets an object that indicates the way the ListView is attached to the cells below it. |
![]() | PreferredSize | (Inherited from Control.) |
![]() | PrintObject | Gets or sets a value that indicates whether the ListView is printed when the worksheet is printed. |
![]() | ProductName | (Inherited from Control.) |
![]() | ProductVersion | (Inherited from Control.) |
![]() | RecreatingHandle | (Inherited from Control.) |
![]() | Region | (Inherited from Control.) |
![]() | RenderRightToLeft | (Inherited from Control.) |
![]() | ResizeRedraw | (Inherited from Control.) |
![]() | Right | Gets the distance, in points, between the right edge of the ListView and the left edge of the worksheet. |
![]() | RightToLeft | (Inherited from Control.) |
![]() | RightToLeftLayout | (Inherited from ListView.) |
![]() | ScaleChildren | (Inherited from Control.) |
![]() | Scrollable | (Inherited from ListView.) |
![]() | SelectedIndices | (Inherited from ListView.) |
![]() | SelectedItems | (Inherited from ListView.) |
![]() | ShapeRange | Gets a Microsoft.Office.Interop.Excel::ShapeRange object that represents the ListView. |
![]() | ShowFocusCues | (Inherited from Control.) |
![]() | ShowGroups | (Inherited from ListView.) |
![]() | ShowItemToolTips | (Inherited from ListView.) |
![]() | ShowKeyboardCues | (Inherited from Control.) |
![]() | Site | (Inherited from Control.) |
![]() | Size | (Inherited from Control.) |
![]() | SmallImageList | (Inherited from ListView.) |
![]() | Sorting | (Inherited from ListView.) |
![]() | SourceName | Gets or sets the link source name of the ListView. |
![]() | StateImageList | (Inherited from ListView.) |
![]() | TabIndex | (Inherited from Control.) |
![]() | TabStop | (Inherited from Control.) |
![]() | Tag | (Inherited from Control.) |
![]() | Text | (Inherited from Control.) |
![]() | TileSize | (Inherited from ListView.) |
![]() | Top | Gets or sets the distance, in points, between the top edge of the ListView and the top edge of the worksheet. |
![]() | TopItem | (Inherited from ListView.) |
![]() | TopLeftCell | Gets a Range object that represents the cell that lies under the upper-left corner of the ListView. |
![]() | TopLevelControl | (Inherited from Control.) |
![]() | UseCompatibleStateImageBehavior | (Inherited from ListView.) |
![]() | UseWaitCursor | (Inherited from Control.) |
![]() | View | (Inherited from ListView.) |
![]() | VirtualListSize | (Inherited from ListView.) |
![]() | VirtualMode | (Inherited from ListView.) |
![]() | Visible | Gets or sets a value that represents whether the ListView is visible. |
![]() | Width | Gets or sets the width of the ListView in points. |
![]() | ZOrder | Gets the z-order position of the ListView. |
| Name | Description | |
|---|---|---|
![]() ![]() | IDropTarget::OnDragDrop(DragEventArgs^) | (Inherited from Control.) |
![]() ![]() | IDropTarget::OnDragEnter(DragEventArgs^) | (Inherited from Control.) |
![]() ![]() | IDropTarget::OnDragLeave(EventArgs^) | (Inherited from Control.) |
![]() ![]() | IDropTarget::OnDragOver(DragEventArgs^) | (Inherited from Control.) |
The Microsoft.Office.Tools.Excel.Controls::ListView is different from a System.Windows.Forms::ListView. The Microsoft.Office.Tools.Excel.Controls::ListView has additional members that enable it to be added to an Excel worksheet and that give it additional methods and properties.
Do not use the New constructor to create a new ListView. Use the AddListView method to add a new ListView to a worksheet.
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.






