xtd 1.0.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
41
43 find_event_args(const find_event_args& other);
44 auto operator =(const find_event_args& other) -> find_event_args&;
46
48
52 [[nodiscard]] auto find_string() const noexcept -> const xtd::string&;
53
56 [[nodiscard]] auto match_case() const noexcept -> bool;
57
60 [[nodiscard]] auto search_direction() const noexcept -> xtd::forms::search_direction;
61
64 [[nodiscard]] auto whole_word() const noexcept -> bool;
66
67 private:
68 xtd::sptr<data> data_;
69 };
70 }
71}
Represents the base class for classes that contain event data, and provides a value to use for events...
Definition event_args.hpp:18
auto find_string() const noexcept -> const xtd::string &
Gets the string to find.
auto whole_word() const noexcept -> bool
Gets the whole word value.
find_event_args()
Initializes a new instance of the xtd::forms::find_event_args class.
auto search_direction() const noexcept -> xtd::forms::search_direction
Gets the search direction value.
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.
auto match_case() const noexcept -> bool
Gets the match case 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
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 auto data() const noexcept -> const_pointer
Gets direct access to the underlying contiguous storage.
Definition read_only_span.hpp:197
Contains xtd::forms::search_direction enum class.