xtd.forms - Reference Guide  0.1.0
Modern c++17 library containing classes for creating Windows-based applications that take full advantage of the rich user interface features available in the Microsoft Windows, Apple macOS and Linux like Ubuntu operating system.
xtd::forms::progress_changed_event_args Class Reference

Provides data for the do_work event handler. More...

#include <progress_changed_event_args.h>

Inheritance diagram for xtd::forms::progress_changed_event_args:
xtd::event_args

Public Member Functions

 progress_changed_event_args (int32_t progress_percentage, const std::any &user_state)
 Initializes a new instance of the DoWorkEventArgs class. More...
 
int32_t progress_percentage () const
 
std::any user_state () const
 Gets a value that represents the argument of an asynchronous operation. More...
 

Additional Inherited Members

- Static Public Attributes inherited from xtd::event_args
static const event_args empty
 

Detailed Description

Provides data for the do_work event handler.

Constructor & Destructor Documentation

§ progress_changed_event_args()

xtd::forms::progress_changed_event_args::progress_changed_event_args ( int32_t  progress_percentage,
const std::any user_state 
)
inline

Initializes a new instance of the DoWorkEventArgs class.

Parameters
argumentSpecifies an argument for an asynchronous operation.

Member Function Documentation

§ user_state()

std::any xtd::forms::progress_changed_event_args::user_state ( ) const
inline

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: