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

◆ dialog_result() [1/2]

virtual forms::dialog_result xtd::forms::ibutton_control::dialog_result ( ) const
pure virtualnoexcept

Gets the value returned to the parent form when the button is clicked.

Returns
One of the xtd::forms::dialog_result values. The default value is xtd::forms::dialog_result::none.
Remarks
When a form is shown as a dialog box using the xtd::forms::form::show_dialog method and one of its buttons is clicked, the button's xtd::forms::dialog_result value is assigned to the form's xtd::forms::dialog_result property.

Implemented in xtd::forms::button.