Represents a common dialog box that displays a replace dialog. This class cannot be inherited.
- Header
#include <xtd/forms/replace_box>
- Namespace
- xtd::forms
- Library
- xtd.forms
- Appearance
| Windows | macOS | Gnome |
Light |
html dialog_replace_dialog_m.png html dialog_replace_dialog_g.png
|
Dark |
html dialog_replace_dialog_md.png html dialog_replace_dialog_gd.png
|
- Examples
- The following code example demonstrates the use of xtd::forms::replace_box dialog.
#include <xtd/forms/application>
#include <xtd/forms/button>
#include <xtd/forms/debug_form>
#include <xtd/forms/form>
#include <xtd/forms/replace_box>
#include <xtd/diagnostics/debug>
class form1 :
public form {
public:
form1() {
text(
"Replace box example");
find_button.parent(*this);
find_button.text("replace...");
find_button.location({10, 10});
find_button.click += [&] {
});
};
}
private:
};
auto main()->int {
}
|
template<typename find_next_callback_t , typename replace_callback_t , typename replace_all_callback_t > |
static void | show (const iwin32_window &owner, find_next_callback_t find_next, replace_callback_t replace, replace_all_callback_t replace_all) |
| Displays a replace dialog box. More...
|
|
template<typename find_next_callback_t , typename replace_callback_t , typename replace_all_callback_t > |
static void | show (const iwin32_window &owner, const xtd::ustring &find_string, find_next_callback_t find_next, replace_callback_t replace, replace_all_callback_t replace_all) |
| Displays a replace dialog box. More...
|
|
template<typename find_next_callback_t , typename replace_callback_t , typename replace_all_callback_t > |
static void | show (const iwin32_window &owner, const xtd::ustring &find_string, const xtd::ustring &replace_string, find_next_callback_t find_next, replace_callback_t replace, replace_all_callback_t replace_all) |
| Displays a replace dialog box. More...
|
|
template<typename find_next_callback_t , typename replace_callback_t , typename replace_all_callback_t > |
static void | show (const iwin32_window &owner, const xtd::ustring &find_string, const xtd::ustring &replace_string, const xtd::ustring &title, find_next_callback_t find_next, replace_callback_t replace, replace_all_callback_t replace_all) |
| Displays a replace dialog box. More...
|
|
template<typename find_next_callback_t , typename replace_callback_t , typename replace_all_callback_t > |
static void | show (const iwin32_window &owner, const xtd::ustring &find_string, const xtd::ustring &replace_string, const xtd::ustring &title, bool match_case, find_next_callback_t find_next, replace_callback_t replace, replace_all_callback_t replace_all) |
| Displays a replace dialog box. More...
|
|
template<typename find_next_callback_t , typename replace_callback_t , typename replace_all_callback_t > |
static void | show (const iwin32_window &owner, const xtd::ustring &find_string, const xtd::ustring &replace_string, const xtd::ustring &title, bool match_case, bool whole_word, find_next_callback_t find_next, replace_callback_t replace, replace_all_callback_t replace_all) |
| Displays a replace dialog box. More...
|
|