xtd 0.2.0
Loading...
Searching...
No Matches
find_event_args.h
Go to the documentation of this file.
1
4#pragma once
5#include "../forms_export.h"
6#include "message.h"
7#include "search_direction.h"
8#include <xtd/event_args>
9#include <cstdint>
10
12namespace xtd {
14 namespace forms {
24 struct data;
25
26 public:
28
37 find_event_args(const xtd::ustring& find_string, bool match_case, xtd::forms::search_direction search_direction, bool whole_word);
39
41 find_event_args(const find_event_args& other);
42 find_event_args& operator =(const find_event_args& other);
44
46
50 const xtd::ustring& find_string() const noexcept;
51
54 bool match_case() const noexcept;
55
59
62 bool whole_word() const noexcept;
63
65
66 private:
67 std::shared_ptr<data> data_;
68 };
69 }
70}
Represents the base class for classes that contain event data, and provides a value to use for events...
Definition event_args.h:18
Provides data for the xtd::forms::find_dialog::find_next and xtd::forms::replace_dialog::find_next ev...
Definition find_event_args.h:23
find_event_args()
Initializes a new instance of the xtd::forms::find_event_args class.
find_event_args(const xtd::ustring &find_string, bool match_case, xtd::forms::search_direction search_direction, bool whole_word)
Initializes a new instance of the xtd::forms::find_event_args class.
const xtd::ustring & find_string() const noexcept
Gets the string to find.
Represents text as a sequence of UTF-8 code units.
Definition ustring.h:47
#define forms_export_
Define shared library export.
Definition forms_export.h:13
search_direction
Specifies the search direction for xtd::forms::find_dialog dialog.
Definition search_direction.h:19
Contains xtd::forms::message class.
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::search_direction enum class.