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::control_event_args Class Reference

Provides data for the control_added and control_removed events. More...

#include <control_event_args.hpp>

Inheritance diagram for xtd::forms::control_event_args:
xtd::event_args

Public Member Functions

 control_event_args (const forms::control &control)
 Initializes a new instance of the control_event_args class for the specified control. More...
 
const forms::controlcontrol () const
 Gets the control object used by this event. More...
 

Additional Inherited Members

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

Detailed Description

Provides data for the control_added and control_removed events.

Constructor & Destructor Documentation

§ control_event_args()

xtd::forms::control_event_args::control_event_args ( const forms::control control)
inline

Initializes a new instance of the control_event_args class for the specified control.

Parameters
controlThe control to store in this event.

Member Function Documentation

§ control()

const forms::control& xtd::forms::control_event_args::control ( ) const
inline

Gets the control object used by this event.

Returns
The control used by this event.

The documentation for this class was generated from the following file: