'Declaration
<SRCategoryAttribute("CatAction")> <SRDescriptionAttribute("ListViewSearchForVirtualItemDescr")> Public Event SearchForVirtualItem As System.Windows.Forms.SearchForVirtualItemEventHandler
'Usage
Dim instance As NListView Dim handler As System.Windows.Forms.SearchForVirtualItemEventHandler AddHandler instance.SearchForVirtualItem, handler
[SRCategory("CatAction")] [SRDescription("ListViewSearchForVirtualItemDescr")] public event System.Windows.Forms.SearchForVirtualItemEventHandler SearchForVirtualItem
Event Data
The event handler receives an argument of type System.Windows.Forms.SearchForVirtualItemEventArgs containing data related to this event. The following SearchForVirtualItemEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Direction | Gets the direction from the current item that the search should take place. |
IncludeSubItemsInSearch | Gets a value indicating whether the search should include subitems of list items. |
Index | Gets or sets the index of the System.Windows.Forms.ListViewItem found in the System.Windows.Forms.ListView . |
IsPrefixSearch | Gets a value indicating whether the search should return an item if its text starts with the search text. |
IsTextSearch | Gets a value indicating whether the search is a text search. |
StartIndex | Gets the index of the System.Windows.Forms.ListViewItem where the search starts. |
StartingPoint | Gets the starting location of the search. |
Text | Gets the text used to find an item in the System.Windows.Forms.ListView control. |
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also