xtd 0.2.0
find_event_args.h
Go to the documentation of this file.
1 #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 
12 namespace xtd {
14  namespace forms {
23  class forms_export_ find_event_args : public event_args {
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 
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 }
Provides data for the xtd::forms::find_dialog::find_next and xtd::forms::replace_dialog::find_next ev...
Definition: find_event_args.h:23
Represents the base class for classes that contain event data, and provides a value to use for events...
Definition: event_args.h:18
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
Contains xtd::forms::message class.
Represents text as a sequence of UTF-8 code units.
Definition: ustring.h:46
Contains xtd::forms::search_direction enum class.
The operating system is other.
search_direction
Specifies the search direction for xtd::forms::find_dialog dialog.
Definition: search_direction.h:19
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition: about_box.h:13