xtd 1.0.0
Loading...
Searching...
No Matches
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
10namespace xtd {
12 namespace forms {
14 class control;
16
28 public:
30
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}
Represents the base class for classes that contain event data, and provides a value to use for events...
Definition event_args.hpp:18
auto control() const noexcept -> xtd::forms::control &
Gets the control object used by this event.
Definition control_event_args.hpp:42
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
Defines the base class for controls, which are components with visual representation.
Definition control.hpp:81
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition texts.hpp:219
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8