xtd 0.2.0
Loading...
Searching...
No Matches
tool_bar_button_click_event_args.hpp
Go to the documentation of this file.
1
4#pragma once
5#include "tool_bar_button.hpp"
6#include <xtd/any>
7#include <xtd/event_args>
8#include <cstdint>
9
11namespace xtd {
13 namespace forms {
26 public:
31
33
43
45
49 const xtd::forms::tool_bar_button& button() const noexcept {return button_;}
50
53 intptr handle() const noexcept {return handle_;}
55
56 private:
58 intptr handle_ = 0;
59 };
60 }
61}
Represents the base class for classes that contain event data, and provides a value to use for events...
Definition event_args.hpp:18
Represents a Windows button control.
Definition button.hpp:49
Provides data for the xtd::forms::tool_bar::button_click event.
Definition tool_bar_button_click_event_args.hpp:25
intptr handle() const noexcept
Gets internal handle.
Definition tool_bar_button_click_event_args.hpp:53
tool_bar_button_click_event_args(const xtd::forms::tool_bar_button &button, intptr handle)
Initializes a new instance of the xtd::forms::tool_bar_button_click_event_args class.
Definition tool_bar_button_click_event_args.hpp:41
const xtd::forms::tool_bar_button & button() const noexcept
Gets the xtd::forms::tool_bar_button that was clicked.
Definition tool_bar_button_click_event_args.hpp:49
tool_bar_button_click_event_args(const xtd::forms::tool_bar_button &button)
Initializes a new instance of the xtd::forms::tool_bar_button_click_event_args class.
Definition tool_bar_button_click_event_args.hpp:37
Represents a toolbar button.
Definition tool_bar_button.hpp:43
intmax_t intptr
Represent a pointer or a handle.
Definition intptr.hpp:23
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition xtd_about_box.hpp:12
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10
Contains xtd::forms::tool_bar_button container.