xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.forms
include
xtd
forms
ibutton_control.hpp
Go to the documentation of this file.
1
4
#pragma once
5
#include "
control.hpp
"
6
#include "
dialog_result.hpp
"
7
#include <xtd/interface>
8
10
namespace
xtd
{
12
namespace
forms
{
26
class
ibutton_control
interface_
{
27
public
:
29
34
virtual
forms::dialog_result
dialog_result
() const noexcept = 0;
38
virtual
control
&
dialog_result
(
forms
::
dialog_result
dialog_result
) = 0;
40
42
47
virtual
void
notify_default
(
bool
value) = 0;
48
51
virtual
void
perform_click
() = 0;
53
};
54
}
55
}
xtd::forms::control
Defines the base class for controls, which are components with visual representation.
Definition
control.hpp:82
xtd::forms::ibutton_control
Allows a control to act like a button on a form.
Definition
ibutton_control.hpp:26
xtd::forms::ibutton_control::notify_default
virtual void notify_default(bool value)=0
Notifies a control that it is the default button so that its appearance and behavior is adjusted acco...
xtd::forms::ibutton_control::perform_click
virtual void perform_click()=0
Generates a click event for the control.
xtd::forms::ibutton_control::dialog_result
virtual forms::dialog_result dialog_result() const noexcept=0
Gets the value returned to the parent form when the button is clicked.
control.hpp
Contains xtd::forms::control control.
dialog_result.hpp
Contains xtd::forms::dialog_result enum class.
interface_
#define interface_
This keyword is use to represent an interface.
Definition
interface.hpp:58
xtd::forms::dialog_result
dialog_result
Specifies identifiers to indicate the return value of a dialog box.
Definition
dialog_result.hpp:43
xtd::forms
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition
texts.hpp:219
xtd
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition
abstract_object.hpp:8
Generated on
for xtd by
Gammasoft
. All rights reserved.