xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.forms
include
xtd
forms
control_event_args.hpp
Go to the documentation of this file.
1
4
#pragma once
5
#include <xtd/drawing/point>
6
#include <xtd/event_args>
7
#include <cstdint>
8
10
namespace
xtd
{
12
namespace
forms
{
14
class
control
;
16
27
class
control_event_args
:
public
xtd::event_args
{
28
public
:
30
34
explicit
control_event_args
(
xtd::forms::control
&
control
) : control_(&
control
) {}
36
38
42
[[nodiscard]]
auto
control
() const noexcept ->
xtd
::
forms
::
control
& {
return
*control_;}
44
45
private
:
46
xtd::forms::control
* control_ =
nullptr
;
47
};
48
}
49
}
xtd::event_args
Represents the base class for classes that contain event data, and provides a value to use for events...
Definition
event_args.hpp:18
xtd::forms::control_event_args::control
auto control() const noexcept -> xtd::forms::control &
Gets the control object used by this event.
Definition
control_event_args.hpp:42
xtd::forms::control_event_args::control_event_args
control_event_args(xtd::forms::control &control)
Initializes a new instance of the control_event_args class for the specified control.
Definition
control_event_args.hpp:34
xtd::forms::control
Defines the base class for controls, which are components with visual representation.
Definition
control.hpp:81
xtd::forms
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition
texts.hpp:219
xtd
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition
abstract_object.hpp:8
Generated on
for xtd by
Gammasoft
. All rights reserved.