Click or drag to resize

KryptonRibbonGroupComboBoxFindString Method (String, Int32)

Finds the first item after the given index which starts with the given string. The search is not case sensitive.

Namespace:  Internal.ComponentFactory.Krypton.Ribbon
Assembly:  NeoAxis.Core.Editor (in NeoAxis.Core.Editor.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public int FindString(
	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: Int32
The 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