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

◆ close_reason()

forms::close_reason xtd::forms::form_closed_event_args::close_reason ( ) const
inlinenoexcept

Gets a value that indicates why the form was closed.

Returns
One of the close_reason enumerated values.
Remarks
A Form can be closed because of a variety of reasons, both user-initiated and programmatic. The close_reason property indicates the reason for the closure.