Provides data for a cancelable event.
- Header
#include <xtd/forms/cancel_event_args>
- Namespace
- xtd::forms
- Library
- xtd.forms
|
virtual bool | cancel () const noexcept |
| Gets a value indicating whether the event should be canceled. More...
|
|
virtual void | cancel (bool cancel) |
| Sets a value indicating whether the event should be canceled. More...
|
|
◆ cancel_event_args() [1/2]
xtd::forms::cancel_event_args::cancel_event_args |
( |
| ) |
|
|
default |
Initializes a new instance of the cancel_event_args class with the cancel property set to false.
◆ cancel_event_args() [2/2]
xtd::forms::cancel_event_args::cancel_event_args |
( |
bool |
cancel | ) |
|
|
inlineexplicit |
Initializes a new instance of the cancel_event_args class with the cancel property set to the given value.
- Parameters
-
cancel | true to cancel the event; otherwise, false. |
◆ cancel() [1/2]
virtual bool xtd::forms::cancel_event_args::cancel |
( |
| ) |
const |
|
inlinevirtualnoexcept |
◆ cancel() [2/2]
virtual void xtd::forms::cancel_event_args::cancel |
( |
bool |
cancel | ) |
|
|
inlinevirtual |
Sets a value indicating whether the event should be canceled.
- Parameters
-
cancel | true if the event should be canceled; otherwise, false. |
The documentation for this class was generated from the following file: