xtd 0.2.0
Loading...
Searching...
No Matches
tool_bar_button_click_event_args.h
Go to the documentation of this file.
1
4#pragma once
5#include "tool_bar_button.h"
6#include <xtd/any>
7#include <xtd/event_args>
8#include <cstdint>
9
11namespace xtd {
13 namespace forms {
24 public:
29
31
41
43
47 const xtd::forms::tool_bar_button& button() const noexcept {return button_;}
48
51 intptr handle() const noexcept {return handle_;}
53
54 private:
56 intptr handle_ = 0;
57 };
58 }
59}
Represents the base class for classes that contain event data, and provides a value to use for events...
Definition event_args.h:18
Represents a Windows button control.
Definition button.h:47
Provides data for the xtd::forms::tool_bar::button_click event.
Definition tool_bar_button_click_event_args.h:23
intptr handle() const noexcept
Gets internal handle.
Definition tool_bar_button_click_event_args.h:51
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.h:39
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.h:47
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.h:35
Represents a toolbar button.
Definition tool_bar_button.h:41
intmax_t intptr
Represent a pointer or a handle.
Definition types.h:153
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
Contains xtd::forms::tool_bar_button container.