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

◆ image_index() [1/2]

size_t xtd::forms::tool_bar_button::image_index ( ) const
noexcept

Gets the index value of the image assigned to the button.

Returns
The index value of the xtd::drawing::image assigned to the toolbar button. The default is xtd::forms::image_list::image_collection::npos.
Remarks
The xtd::forms::tool_bar_button::image_index value references the indexed value of the images in an xtd::forms::tool_bar::image_list assigned to the parent xtd::forms::tool_bar control.