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
28 public:
33
35
41
43
47 forms::control& control() const noexcept {return *control_;}
49
50 private:
51 forms::control* control_ = nullptr;
52 };
53 }
54}
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:27
forms::control & control() const noexcept
Gets the control object used by this event.
Definition control_event_args.h:47
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:39
Defines the base class for controls, which are components with visual representation.
Definition control.h:81
@ 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