Click or drag to resize
KaxToolBarItemCollectionFindItemByText Method (String, Boolean)
Searches the ToolBarItemCollection for the first KaxToolBarItem with a Text property equal to the specified value.

Namespace: Kettic.AspNet.Controls
Assembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax
public KaxToolBarItem FindItemByText(
	string text,
	bool ignoreCase
)

Parameters

text
Type: SystemString
The value to search for.
ignoreCase
Type: SystemBoolean
A Boolean indicating a case-sensitive or insensitive comparison (true indicates a case-insensitive comparison).

Return Value

Type: KaxToolBarItem
A KaxToolBarItem which Text property is equal to the specified value.
Remarks
The method returns the first item matching the search criteria. This method is not recursive. If no item is matching then null (Nothing in VB.NET) is returned.
See Also