xtd 0.2.0
Loading...
Searching...
No Matches

◆ operator[]() [2/2]

std::optional< value_type > xtd::forms::tab_control::tab_page_collection::operator[] ( const xtd::string name)

Gets the first xtd::forms::control::tab_page_collection in the list with the specified name.

Parameters
nameThe name of the xtd::forms::control to get from the list.
Returns
The first xtd::forms::control in the list with the given Name. This item returns optional with no value if no xtd::forms::control with the given name can be found.
Remarks
The operator [] property is case-sensitive when searching for names. That is, if two controls exist with the names "Lname" and "lname", operator [] property will find only the xtd::forms::control with the xtd::forms::control::name() that you specify, not both.