Provides data for the xtd::forms::background_worker::progress_changed event handler.
- Header
#include <xtd/forms/progress_changed_event_args>
- Namespace
- xtd::forms
- Library
- xtd.forms
- Examples:
- background_worker.cpp.
|
int32 | progress_percentage () const noexcept |
|
std::any | user_state () const noexcept |
| Gets a value that represents the argument of an asynchronous operation. More...
|
|
◆ progress_changed_event_args()
xtd::forms::progress_changed_event_args::progress_changed_event_args |
( |
int32 |
progress_percentage, |
|
|
const std::any & |
user_state |
|
) |
| |
|
inline |
Initializes a new instance of the DoWorkEventArgs class.
- Parameters
-
argument | Specifies an argument for an asynchronous operation. |
◆ user_state()
std::any xtd::forms::progress_changed_event_args::user_state |
( |
| ) |
const |
|
inlinenoexcept |
Gets a value that represents the argument of an asynchronous operation.
- Returns
- An object representing the argument of an asynchronous operation.
The documentation for this class was generated from the following file: