KaxToolBarFindItemByText Method (String, Boolean) |
Searches the
KaxToolBar control for the first
KaxToolBarItem whose
Text
property is equal to the specified value.
Namespace: Kettic.AspNet.ControlsAssembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntaxpublic KaxToolBarItem FindItemByText(
string text,
bool ignoreCase
)
Public Function FindItemByText (
text As String,
ignoreCase As Boolean
) As KaxToolBarItem
public:
KaxToolBarItem^ FindItemByText(
String^ text,
bool ignoreCase
)
member FindItemByText :
text : string *
ignoreCase : bool -> KaxToolBarItem
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 whose
Text
property is equal to the specified value. If an item is not found, null
(Nothing in Visual Basic) is returned.
See Also