KaxToolBarButtonCollectionFindButtonByText Method |
Searches the
KaxToolBarButtonCollection for the first
KaxToolBarButton with a
Text 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 KaxToolBarButton FindButtonByText(
string text
)
Public Function FindButtonByText (
text As String
) As KaxToolBarButton
public:
KaxToolBarButton^ FindButtonByText(
String^ text
)
member FindButtonByText :
text : string -> KaxToolBarButton
Parameters
- text
- Type: SystemString
The value to search for.
Return Value
Type:
KaxToolBarButton
A
KaxToolBarButton 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