[About] Version=1.0 Author=Nic Mail=support@hiasm.com [Type] Class=WinElement Inherit=Control Interfaces=Component,MarshalByRefObject,Object,ControlManager,ListView Info=Represents a Windows list view control, which displays a collection of items that can be displayed using one of four different views Category=Common [Edit] Class=ListBox Color=BackColor [Property] Width= |1|121 Height= |1|97 BackColor= | |clWindow ForeColor= | |clWindowText @Activation=Sets the type of action the user must take to activate an item. ARG(ItemActivation)|14|0|Standard,OneClick,TwoClick @Alignment=Sets the alignment of items in the control. ARG(ListViewAlignment)|14|1|Default,Top,Left,SnapToGrid @AllowColumnReorder=Sets a value indicating whether the user can drag column headers to reorder columns in the control. ARG(bool)|14|1|True,False @AutoArrange=Sets whether icons are automatically kept arranged. ARG(bool)|14|0|True,False @BackgroundImageTiled=Sets a value indicating whether the background image of the ListView should be tiled. ARG(bool)|14|1|True,False @BorderStyle=Sets the border style of the control. ARG(BorderStyle)|14|2|None,FixedSingle,Fixed3D +Columns=Sets the list that represents the column headers that appear when the View property is set to Details. Format: columnName[[,width],align]. Align={Left,Center,Right}. ARG(string)|2| @CheckBoxes=Sets a value indicating whether a check box appears next to each item in the control. ARG(bool)|14|1|True,False @FullRowSelect=Sets a value indicating whether clicking an item selects all its subitems. ARG(bool)|14|1|True,False @GridLines=Sets a value indicating whether grid lines appear between the rows and columns containing the items and subitems in the control. ARG(bool)|14|1|True,False @HeaderStyle=Sets the column header style. ARG(ColumnHeaderStyle)|14|2|None,Nonclickable,Clickable @HideSelection=Sets a value indicating whether the selected item in the control remains highlighted when the control loses focus. ARG(bool)|14|0|True,False @HotTracking=Sets a value indicating whether the text of an item or subitem has the appearance of a hyperlink when the mouse pointer passes over it. ARG(bool)|14|1|True,False @HoverSelection=Sets a value indicating whether an item is automatically selected when the mouse pointer remains over the item for a few seconds. ARG(bool)|14|1|True,False @LabelEdit=Sets a value indicating whether the user can edit the labels of items in the control. ARG(bool)|14|1|True,False @LabelWrap=Sets a value indicating whether item labels wrap when items are displayed in the control as icons. ARG(bool)|14|0|True,False @LargeImageList=Sets the ImageList to use when displaying items as large icons in the control. ARG(ImageList)|20|(empty)|ImageList @MultiSelect=Sets a value indicating whether multiple items can be selected. ARG(bool)|14|0|True,False @OwnerDraw=Sets a value indicating whether the ListView control is drawn by the operating system or by code that you provide. ARG(bool)|14|1|True,False @RightToLeftLayout=Sets a value indicating whether the control is laid out from right to left. ARG(bool)|14|1|True,False @Scrollable=Sets a value indicating whether a scroll bar is added to the control when there is not enough room to display all items. ARG(bool)|14|0|True,False @ShowGroups=Sets a value indicating whether items are displayed in groups. ARG(bool)|14|0|True,False @ShowItemToolTips=Sets a value indicating whether ToolTips are shown for the ListViewItem objects contained in the ListView. ARG(bool)|14|0|True,False @SmallImageList=Sets the ImageList to use when displaying items as small icons in the control. ARG(ImageList)|20|(empty)|ImageList @Sorting=Sets the sort order for items in the control. ARG(SortOrder)|14|0|None,Ascending,Descending @StateImageList=Sets the ImageList associated with application-defined states in the control. ARG(ImageList)|20|(empty)|ImageList @TileSize=Sets the size of the tiles shown in tile view. ARG(Size)|20|(empty)|Size @View=Sets how items are displayed in the control. ARG(View)|14|0|LargeIcon,Details,SmallIcon,List,Tile @VirtualListSize=Sets the number of ListViewItem objects contained in the list when in virtual mode. ARG(int)|1|0 @VirtualMode=Sets a value indicating whether you have provided your own data-management operations for the ListView control. ARG(bool)|14|1|True,False [Methods] *doArrangeIcons=Arranges items in the control when they are displayed as icons based on the value of the Alignment property. ARG()|1|0 *doArrangeIcons2=Arranges items in the control when they are displayed as icons with a specified alignment setting. ARG(ListViewAlignment value)|1|0 *doAutoResizeColumn=Resizes the width of the given column as indicated by the resize style. ARG(int columnIndex, ColumnHeaderAutoResizeStyle headerAutoResize)|1|0 *doAutoResizeColumns=Resizes the width of the columns as indicated by the resize style. ARG(ColumnHeaderAutoResizeStyle headerAutoResize)|1|0 *doBeginUpdate=Prevents the control from drawing until the EndUpdate method is called. ARG()|1|0 *doClear=Removes all items and columns from the control. ARG()|1|0 *doEndUpdate=Resumes drawing of the list view control after drawing is suspended by the BeginUpdate method. ARG()|1|0 *doEnsureVisible=Ensures that the specified item is visible within the control, scrolling the contents of the control if necessary. ARG(int index)|1|0 *doFindItemWithText=Finds the first ListViewItem that begins with the specified text value. ARG(string textSearch)|1|0 *doFindItemWithText2=Finds the first ListViewItem or ListViewItem.ListViewSubItem , if indicated, that begins with the specified text value. The search starts at the specified index. ARG(string textSearch, bool includeSubItemsInSearch, int startIndex)|1|0 *doFindItemWithText3=Finds the first ListViewItem or ListViewItem.ListViewSubItem , if indicated, that begins with the specified text value. The search starts at the specified index. ARG(string textSearch, bool includeSubItemsInSearch, int startIndex, bool isPrefixSearch)|1|0 *doFindNearestItem=Finds the next item from the given point, searching in the specified directionARG(SearchDirectionHint dir, Point point)|1|0 *doFindNearestItem2=Finds the next item from the given x- and y-coordinates, searching in the specified direction. ARG(SearchDirectionHint searchDirection, int x, int y)|1|0 *doFocusedItem=Sets the item in the control that currently has focus. ARG(ListViewItem)|1|0 *doGetItemAt=Retrieves the item at the specified location. ARG(int x, int y)|1|0 *doGetItemRect=Retrieves the bounding rectangle for a specific item within the list view control. ARG(int index)|1|0 *doGetItemRect2=Retrieves the specified portion of the bounding rectangle for a specific item within the list view control. ARG(int index, ItemBoundsPortion portion)|1|0 *doHitTest=Provides item information, given a point. ARG(Point point)|1|0 *doHitTest2=Provides item information, given x- and y-coordinates. ARG(int x, int y)|1|0 *doListViewItemSorter=Sets the sorting comparer for the control. ARG(IComparer)|1|0 *doRedrawItems=Forces a range of ListViewItem objects to be redrawn. ARG(int startIndex, int endIndex, bool invalidateOnly)|1|0 *doSort=Sorts the items of the list view. ARG()|1|0 *doTopItem=Sets the first visible item in the control. ARG(ListViewItem)|1|0 *doUseCompatibleStateImageBehavior=Sets a value indicating whether the ListView uses state image behavior that is compatible with the .NET Framework 1.1 or the .NET Framework 2.0. ARG(bool)|1|0 *onAfterLabelEdit=Occurs when the label for an item is edited by the user. ARG(LabelEditEventArgs)|2|0 *onBeforeLabelEdit=Occurs when the user starts editing the label of an item. ARG(LabelEditEventArgs)|2|0 *onCacheVirtualItems=Occurs when the contents of the display area for a ListView in virtual mode has changed, and the ListView determines that a new range of items is needed. ARG(CacheVirtualItemsEventArgs)|2|0 *onColumnClick=Occurs when the user clicks a column header within the list view control. ARG(ColumnClickEventArgs)|2|0 *onColumnReordered=Occurs when the column header order is changed. ARG(ColumnReorderedEventArgs)|2|0 *onColumnWidthChanged=Occurs after the width of a column is successfully changed. ARG(ColumnWidthChangedEventArgs)|2|0 *onColumnWidthChanging=Occurs when the width of a column is changing. ARG(ColumnWidthChangingEventArgs)|2|0 *onDrawColumnHeader=Occurs when the details view of a ListView is drawn and the OwnerDraw property is set to true. ARG(DrawListViewColumnHeaderEventArgs)|2|0 *onDrawItem=Occurs when a ListView is drawn and the OwnerDraw property is set to true. ARG(DrawListViewItemEventArgs)|2|0 *onDrawSubItem=Occurs when the details view of a ListView is drawn and the OwnerDraw property is set to true. ARG(DrawListViewSubItemEventArgs)|2|0 *onFindItemWithText=Occurs after invoke the method doFindItemWithText and returns the result. ARG(ListViewItem)|2|0 *onFindNearestItem=Occurs after invoke the method doFindNearestItem and returns the result. ARG(ListViewItem)|2|0 *onGetItemAt=Occurs after invoke the method doGetItemAt and returns the result. ARG(ListViewItem)|2|0 *onGetItemRect=Occurs after invoke the method doGetItemRect and returns the result. ARG(Rectangle)|2|0 *onHitTest=Occurs after invoke the method doHitTest and returns the result. ARG(ListViewHitTestInfo)|2|0 *onItemActivate=Occurs when an item is activated. ARG(EventArgs)|2|0 *onItemCheck=Occurs when the check state of an item changes. ARG(ItemCheckEventArgs)|2|0 *onItemChecked=Occurs when the checked state of an item changes. ARG(ItemCheckedEventArgs)|2|0 *onItemDrag=Occurs when the user begins dragging an item. ARG(ItemDragEventArgs)|2|0 *onItemMouseHover=Occurs when the mouse hovers over an item. ARG(ListViewItemMouseHoverEventArgs)|2|0 *onItemSelectionChanged=Occurs when the selection state of an item changes. ARG(ListViewItemSelectionChangedEventArgs)|2|0 *onRetrieveVirtualItem=Occurs when the ListView is in virtual mode and requires a ListViewItem. ARG(RetrieveVirtualItemEventArgs)|2|0 *onRightToLeftLayoutChanged=Occurs when the value of the RightToLeftLayout property changes. ARG(EventArgs)|2|0 *onSearchForVirtualItem=Occurs when the ListView is in virtual mode and a search is taking place. ARG(SearchForVirtualItemEventArgs)|2|0 *onSelectedIndexChanged=Occurs when the SelectedIndices collection changes. ARG(EventArgs)|2|0 *onVirtualItemsSelectionRangeChanged=Occurs when a ListView is in virtual mode and the selection state of a range of items has changed. ARG(ListViewVirtualItemsSelectionRangeChangedEventArgs)|2|0 *Activation=Returns the type of action the user must take to activate an item. ARG(ItemActivation)|3|0 *Alignment=Returns the alignment of items in the control. ARG(ListViewAlignment)|3|0 *AllowColumnReorder=Returns a value indicating whether the user can drag column headers to reorder columns in the control. ARG(bool)|3|104 *AutoArrange=Returns whether icons are automatically kept arranged. ARG(bool)|3|104 *BackColor=Returns the background color. ARG(Color)|3|8 *BackgroundImageTiled=Returns a value indicating whether the background image of the ListView should be tiled. ARG(bool)|3|104 *BorderStyle=Returns the border style of the control. ARG(BorderStyle)|3|0 *CheckBoxes=Returns a value indicating whether a check box appears next to each item in the control. ARG(bool)|3|104 *CheckedIndices=Returns the indexes of the currently checked items in the control. ARG(ListView.CheckedIndexCollection)|3|0 *CheckedItems=Returns the currently checked items in the control. ARG(ListView.CheckedListViewItemCollection)|3|0 *Columns=Returns the collection of all column headers that appear in the control. ARG(ListView.ColumnHeaderCollection)|3|0 *FocusedItem=Returns the item in the control that currently has focus. ARG(ListViewItem)|3|0 *ForeColor=Returns the foreground color. ARG(Color)|3|8 *FullRowSelect=Returns a value indicating whether clicking an item selects all its subitems. ARG(bool)|3|104 *GridLines=Returns a value indicating whether grid lines appear between the rows and columns containing the items and subitems in the control. ARG(bool)|3|104 *Groups=Returns the collection of ListViewGroup objects assigned to the control. ARG(ListViewGroupCollection)|3|0 *HeaderStyle=Returns the column header style. ARG(ColumnHeaderStyle)|3|0 *HideSelection=Returns a value indicating whether the selected item in the control remains highlighted when the control loses focus. ARG(bool)|3|104 *HotTracking=Returns a value indicating whether the text of an item or subitem has the appearance of a hyperlink when the mouse pointer passes over it. ARG(bool)|3|104 *HoverSelection=Returns a value indicating whether an item is automatically selected when the mouse pointer remains over the item for a few seconds. ARG(bool)|3|104 *InsertionMark=Returns an object used to indicate the expected drop location when an item is dragged within a ListView control. ARG(ListViewInsertionMark)|3|0 *Items=Returns a collection containing all items in the control. ARG(ListView.ListViewItemCollection)|3|0 *LabelEdit=Returns a value indicating whether the user can edit the labels of items in the control. ARG(bool)|3|104 *LabelWrap=Returns a value indicating whether item labels wrap when items are displayed in the control as icons. ARG(bool)|3|104 *LargeImageList=Returns the ImageList to use when displaying items as large icons in the control. ARG(ImageList)|3|0 *ListViewItemSorter=Returns the sorting comparer for the control. ARG(IComparer)|3|0 *MultiSelect=Returns a value indicating whether multiple items can be selected. ARG(bool)|3|104 *OwnerDraw=Returns a value indicating whether the ListView control is drawn by the operating system or by code that you provide. ARG(bool)|3|104 *RightToLeftLayout=Returns a value indicating whether the control is laid out from right to left. ARG(bool)|3|104 *Scrollable=Returns a value indicating whether a scroll bar is added to the control when there is not enough room to display all items. ARG(bool)|3|104 *SelectedIndices=Returns the indexes of the selected items in the control. ARG(ListView.SelectedIndexCollection)|3|0 *SelectedItems=Returns the items that are selected in the control. ARG(ListView.SelectedListViewItemCollection)|3|0 *ShowGroups=Returns a value indicating whether items are displayed in groups. ARG(bool)|3|104 *ShowItemToolTips=Returns a value indicating whether ToolTips are shown for the ListViewItem objects contained in the ListView. ARG(bool)|3|104 *SmallImageList=Returns the ImageList to use when displaying items as small icons in the control. ARG(ImageList)|3|0 *Sorting=Returns the sort order for items in the control. ARG(SortOrder)|3|0 *StateImageList=Returns the ImageList associated with application-defined states in the control. ARG(ImageList)|3|0 *TileSize=Returns the size of the tiles shown in tile view. ARG(Size)|3|0 *TopItem=Returns the first visible item in the control. ARG(ListViewItem)|3|0 *UseCompatibleStateImageBehavior=Returns a value indicating whether the ListView uses state image behavior that is compatible with the .NET Framework 1.1 or the .NET Framework 2.0. ARG(bool)|3|104 *View=Returns how items are displayed in the control. ARG(View)|3|0 *VirtualListSize=Returns the number of ListViewItem objects contained in the list when in virtual mode. ARG(int)|3|1 *VirtualMode=Returns a value indicating whether you have provided your own data-management operations for the ListView control. ARG(bool)|3|104 ListView=Returns the ListView object. ARG(ListView)|3|0 *columnIndex=The zero-based index of the column to resize. ARG(int)|4|1 *dir=One of the SearchDirectionHint values. ARG(SearchDirectionHint)|4|0 *endIndex=The index for the last item of the range to be redrawn. ARG(int)|4|1 *headerAutoResize=One of the ColumnHeaderAutoResizeStyle values. ARG(ColumnHeaderAutoResizeStyle)|4|0 *includeSubItemsInSearch=true to include subitems in the search; otherwise, false. ARG(bool)|4|104 *index=The zero-based index of the item to scroll into view. ARG(int)|4|1 *invalidateOnly=true to invalidate the range of items; false to invalidate and repaint the items. ARG(bool)|4|104 *isPrefixSearch=true to allow partial matches; otherwise, false. ARG(bool)|4|104 *point=The point at which to begin searching. ARG(Point)|4|0 *portion=One of the ItemBoundsPortion values that represents a portion of the ListViewItem for which to retrieve the bounding rectangle. ARG(ItemBoundsPortion)|4|0 *searchDirection=One of the SearchDirectionHint values. ARG(SearchDirectionHint)|4|0 *startIndex=The index of the item at which to start the search. ARG(int)|4|1 *textSearch=The text to search for. ARG(string)|4|2 *value=One of the ListViewAlignment values. ARG(ListViewAlignment)|4|0 *x=The x-coordinate for the point at which to begin searching. ARG(int)|4|1 *y=The y-coordinate for the point at which to begin searching. ARG(int)|4|1