xtd 0.2.0
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
41
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}
event_args()=default
Initializes a new instance of the event_args class.
bool match_case() const noexcept
Gets the match case value.
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.
bool whole_word() const noexcept
Gets the whole word value.
xtd::forms::search_direction search_direction() const noexcept
Gets the search direction value.
Contains forms_export_ keyword.
#define forms_export_
Define shared library export.
Definition forms_export.hpp:13
xtd::basic_string< char > string
Represents text as a sequence of UTF-8 code units.
Definition __string_definitions.hpp:43
xtd::shared_ptr_object< type_t > sptr
The xtd::sptr object is a shared pointer.
Definition sptr.hpp:25
@ other
The operating system is other.
Definition platform_id.hpp:58
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 texts.hpp:219
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8
constexpr const_pointer data() const noexcept
Gets direct access to the underlying contiguous storage.
Definition read_only_span.hpp:201
Contains xtd::forms::search_direction enum class.