xtd 0.2.0
Loading...
Searching...
No Matches
control_event_args.h
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
10namespace xtd {
12 namespace forms {
14 class control;
16
26 public:
31
33
39
41
45 forms::control& control() const noexcept {return *control_;}
47
48 private:
49 forms::control* control_ = nullptr;
50 };
51 }
52}
Represents the base class for classes that contain event data, and provides a value to use for events...
Definition event_args.h:18
Provides data for the xtd::forms::control::control_added and xtd::forms::control::control_removed eve...
Definition control_event_args.h:25
forms::control & control() const noexcept
Gets the control object used by this event.
Definition control_event_args.h:45
control_event_args(forms::control &control)
Initializes a new instance of the control_event_args class for the specified control.
Definition control_event_args.h:37
Defines the base class for controls, which are components with visual representation.
Definition control.h:79
@ control
The left or right CTRL modifier key.
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition xtd_about_box.h:12
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10