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

◆ image_index() [2/2]

tool_bar_button & xtd::forms::tool_bar_button::image_index ( size_t  value)

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

Parameters
valueThe index value of the xtd::drawing::image assigned to the toolbar button. The default is xtd::forms::image_list::image_collection::npos.
Returns
This current instance.
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.