xtd - Reference Guide  0.1.0
Modern c++17 framework to create console, gui and unit test applications on Windows, macOS and Linux.

§ notify_default()

void xtd::forms::button::notify_default ( bool  value)

Notifies a control that it is the default button so that its appearance and behavior is adjusted accordingly.

valuetrue if the control should behave as a default button; otherwise false.
This method is called by a parent form to make a control the default button. Default buttons are set to have an extra thick border.

Implements xtd::forms::ibutton_control.