KaxMenuItemCollectionFindItemByValue Method (String, Boolean) |
Searches the
KaxMenu control for the first
KaxMenuItem with a
Value property 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 KaxMenuItem FindItemByValue(
string value,
bool ignoreCase
)
Public Function FindItemByValue (
value As String,
ignoreCase As Boolean
) As KaxMenuItem
public:
KaxMenuItem^ FindItemByValue(
String^ value,
bool ignoreCase
)
member FindItemByValue :
value : string *
ignoreCase : bool -> KaxMenuItem
Parameters
- value
- 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:
KaxMenuItem
A
KaxMenuItem whose
Value property is
equal to the specified value.
Remarks
The method returns the first item matching the search criteria. If no item is
matching then null (Nothing in VB.NET) is
returned.
See Also