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

◆ pushed() [2/2]

tool_bar_button & xtd::forms::tool_bar_button::pushed ( bool  value)

Sets a value indicating whether a toggle-style toolbar button is currently in the pushed state.

Parameters
valuerue if a toggle-style toolbar button is currently in the pushed state; otherwise, false. The default is false.
Returns
This current instance.
Remarks
When xtd::forms::tool_bar_button::pushed is set to true, the toolbar button appears sunken or inset relative to the other buttons. This property has no effect unless the xtd::forms::tool_bar_button::style is set to xtd::forms::tool_bar_button_style::toggle_button.