KryptonRibbonGroupComboBoxFindStringExact Method (String, Int32) |
Finds the first item after the specified index that matches the specified string.
Namespace:
Internal.ComponentFactory.Krypton.Ribbon
Assembly:
NeoAxis.Core.Editor (in NeoAxis.Core.Editor.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax public int FindStringExact(
string str,
int startIndex
)
Parameters
- str
- Type: SystemString
The String to search for. - startIndex
- Type: SystemInt32
The zero-based index of the item before the first item to be searched. Set to -1 to search from the beginning of the control.
Return Value
Type:
Int32The zero-based index of the first item found; returns -1 if no match is found, or 0 if the s parameter specifies Empty.
See Also