xtd 0.2.0
Loading...
Searching...
No Matches
input_dialog.hpp
Go to the documentation of this file.
1
4#pragma once
7#include "common_dialog.hpp"
8#include <xtd/delegate>
9
11namespace xtd {
13 namespace forms {
39 struct data;
40 public:
42
47
49
58
66
70 bool multiline() const noexcept;
75 input_dialog& multiline(bool multiline);
76
79 xtd::string message() const noexcept;
83 input_dialog& message(const xtd::string& message);
84
87 xtd::string text() const noexcept;
91 input_dialog& text(const xtd::string& text);
92
96 bool use_system_password_char() const noexcept;
101 input_dialog& use_system_password_char(bool use_system_password_char);
102
105 xtd::string value() const noexcept;
109 input_dialog& value(const xtd::string& value);
110
114 bool word_wrap() const noexcept;
119 input_dialog& word_wrap(bool word_wrap);
121
123
126 void reset() noexcept override;
128
129 protected:
131
133 bool run_dialog(intptr owner) override;
134 void run_sheet(intptr owner) override;
136
137 private:
138 xtd::sptr<data> data_;
139 };
140 }
141}
Contains xtd::forms::character_casing enum class.
Specifies the base class used for displaying dialog boxes on the screen.
Definition common_dialog.hpp:34
Represents a common dialog box that displays input dialog.
Definition input_dialog.hpp:38
input_dialog()
Initializes a new instance of the input_dialog class.
xtd::forms::character_casing character_casing() const noexcept
Gets the character casing.
Implements a Windows message.
Definition message.hpp:28
Contains xtd::forms::common_dialog class.
Contains xtd::forms::dialog_appearance enum class.
#define forms_export_
Define shared library export.
Definition forms_export.hpp:13
intmax_t intptr
Represent a pointer or a handle.
Definition intptr.hpp:23
std::shared_ptr< type_t > sptr
The xtd::sptr object is a shared pointer.
Definition sptr.hpp:25
control_appearance
Specifies the appearance of a control.
Definition control_appearance.hpp:21
character_casing
Specifies the case of characters in a text_box control.
Definition character_casing.hpp:22
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