Spread Windows Forms 10.0 Product Documentation
FindFirstMatchedAndCanBeSelectedIndex Method


A System.String value indicates the matched text.
A bool value, true if we match string ignore upper or lower case; otherwise, false.
Looks for the index of first ListItem which matches the specified text in the dropdown list.
Syntax
'Declaration
 
Protected Function FindFirstMatchedAndCanBeSelectedIndex( _
   ByVal text As String, _
   ByVal ignoreCase As Boolean _
) As Integer
'Usage
 
Dim instance As GcComboBoxCellType
Dim text As String
Dim ignoreCase As Boolean
Dim value As Integer
 
value = instance.FindFirstMatchedAndCanBeSelectedIndex(text, ignoreCase)
protected int FindFirstMatchedAndCanBeSelectedIndex( 
   string text,
   bool ignoreCase
)

Parameters

text
A System.String value indicates the matched text.
ignoreCase
A bool value, true if we match string ignore upper or lower case; otherwise, false.

Return Value

A int value indicates the index of first ListItem which matches the specified text in the dropdown list. If don't find ,then return -1.
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

GcComboBoxCellType Class
GcComboBoxCellType Members

 

 


Copyright © GrapeCity, inc. All rights reserved.