xtd 0.2.0
Loading...
Searching...
No Matches
find_event_args.hpp
Go to the documentation of this file.
1
4#pragma once
5#include "../forms_export.hpp"
6#include "message.hpp"
8#include <xtd/event_args>
9#include <cstdint>
10
12namespace xtd {
14 namespace forms {
26 struct data;
27
28 public:
30
39 find_event_args(const xtd::string& find_string, bool match_case, xtd::forms::search_direction search_direction, bool whole_word);
41
43 find_event_args(const find_event_args& other);
44 find_event_args& operator =(const find_event_args& other);
46
48
52 const xtd::string& find_string() const noexcept;
53
56 bool match_case() const noexcept;
57
61
64 bool whole_word() const noexcept;
65
67
68 private:
69 xtd::sptr<data> data_;
70 };
71 }
72}
Represents text as a sequence of character units.
Definition basic_string.hpp:79
Represents the base class for classes that contain event data, and provides a value to use for events...
Definition event_args.hpp:18
Provides data for the xtd::forms::find_dialog::find_next and xtd::forms::replace_dialog::find_next ev...
Definition find_event_args.hpp:25
const xtd::string & find_string() const noexcept
Gets the string to find.
find_event_args()
Initializes a new instance of the xtd::forms::find_event_args class.
find_event_args(const xtd::string &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.
#define forms_export_
Define shared library export.
Definition forms_export.hpp:13
std::shared_ptr< type_t > sptr
The xtd::sptr object is a shared pointer.
Definition sptr.hpp:25
search_direction
Specifies the search direction for xtd::forms::find_dialog dialog.
Definition search_direction.hpp:21
Contains xtd::forms::message class.
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
Contains xtd::forms::search_direction enum class.