#include <find_dialog.h>
Represents a dialog box that displays find dialog.
- Namespace
- xtd::forms
- Library
- xtd.forms
- Examples
- The following code example demonstrates the use of find_dialog dialog.
#include <xtd/xtd>
class form1 :
public form {
public:
form1() {
text(
"Find dialog example");
find_button.parent(*this);
find_button.text("find...");
find_button.location({10, 10});
find_button.click += [&] {
};
};
}
private:
};
int main() {
}
|
| object ()=default |
| Create a new instance of the ultimate base class object. More...
|
|
virtual bool | equals (const object &obj) const noexcept |
| Determines whether the specified object is equal to the current object. More...
|
|
virtual size_t | get_hash_code () const noexcept |
| Serves as a hash function for a particular type. More...
|
|
template<typename object_t > |
std::unique_ptr< object_t > | memberwise_clone () const |
| Gets the type of the current instance. More...
|
|
virtual xtd::ustring | to_string () const noexcept |
| Returns a sxd::ustring that represents the current object. More...
|
|
static bool | equals (const object &object_a, const object &object_b) noexcept |
| Determines whether the specified object instances are considered equal. More...
|
|
static bool | reference_equals (const object &object_a, const object &object_b) noexcept |
| Determines whether the specified object instances are the same instance. More...
|
|
| component ()=default |
| Initialises a new instance of the component class. More...
|
|
virtual bool | can_raise_events () const |
| Gets a value indicating whether the component can raise an event. More...
|
|
bool | design_mode () const |
| Gets a value that indicates whether the component is currently in design mode. More...
|
|
◆ find_dialog()
xtd::forms::find_dialog::find_dialog |
( |
| ) |
|
|
default |
◆ close()
void xtd::forms::find_dialog::close |
( |
| ) |
|
Closes the find dialog box.
◆ find_string() [1/2]
const xtd::ustring& xtd::forms::find_dialog::find_string |
( |
| ) |
const |
Gets the string to find.
- Returns
- The string to find.
◆ find_string() [2/2]
Sets the string to find.
- Parameters
-
- Returns
- Current find_dialog instance.
◆ location() [1/2]
Gets the coordinates of the upper-left corner of the dialog relative to the upper-left corner of the screen.
- Returns
- The point that represents the upper-left corner of the dialog relative to the upper-left corner of its screen.
◆ location() [2/2]
Sets the coordinates of the upper-left corner of the dialog relative to the upper-left corner of the screen.
- Parameters
-
value | The point that represents the upper-left corner of the dialog relative to the upper-left corner of its screen. |
- Returns
- Current find_dialog instance.
◆ match_case() [1/2]
bool xtd::forms::find_dialog::match_case |
( |
| ) |
const |
Gets the match case value.
- Returns
- true if match case option selected; otherwise false. The default is false.
◆ match_case() [2/2]
find_dialog& xtd::forms::find_dialog::match_case |
( |
bool |
value | ) |
|
Sets the match case value.
- Parameters
-
value | true if match case option selected; otherwise false. The default is false. |
- Returns
- Current find_dialog instance.
◆ reset()
void xtd::forms::find_dialog::reset |
( |
| ) |
|
Resets all properties to default values.
◆ search_direction() [1/2]
◆ search_direction() [2/2]
Gets the search direction value.
- Parameters
-
- Returns
- Current find_dialog instance.
◆ show()
void xtd::forms::find_dialog::show |
( |
const iwin32_window & |
owner | ) |
|
◆ show_match_case() [1/2]
bool xtd::forms::find_dialog::show_match_case |
( |
| ) |
const |
Gets a value that indicates whether match case option is shown.
- Returns
- true if match case option is shown; otherwise false. The default is true.
◆ show_match_case() [2/2]
find_dialog& xtd::forms::find_dialog::show_match_case |
( |
bool |
value | ) |
|
Sets a value that indicates whether match case option is shown.
- Parameters
-
value | true if match case option is shown; otherwise false. The default is true. |
- Returns
- Current find_dialog instance.
◆ show_up_down() [1/2]
bool xtd::forms::find_dialog::show_up_down |
( |
| ) |
const |
Gets a value that indicates whether up down option is shown.
- Returns
- true if up down option is shown; otherwise false. The default is true.
◆ show_up_down() [2/2]
find_dialog& xtd::forms::find_dialog::show_up_down |
( |
bool |
value | ) |
|
Sets a value that indicates whether up down option is shown.
- Parameters
-
value | true if up down option is shown; otherwise false. The default is true. |
- Returns
- Current find_dialog instance.
◆ show_whole_word() [1/2]
bool xtd::forms::find_dialog::show_whole_word |
( |
| ) |
const |
Gets a value that indicates whether whole word option is shown.
- Returns
- true if whole word option is shown; otherwise false. The default is true.
◆ show_whole_word() [2/2]
find_dialog& xtd::forms::find_dialog::show_whole_word |
( |
bool |
value | ) |
|
Sets a value that indicates whether whole word option is shown.
- Parameters
-
value | true if whole word option is shown; otherwise false. The default is true. |
- Returns
- Current find_dialog instance.
◆ title() [1/2]
const xtd::ustring& xtd::forms::find_dialog::title |
( |
| ) |
const |
Gets the find dialog title.
- Returns
- The find dialog title.
◆ title() [2/2]
Sets the find dialog title.
- Parameters
-
value | The find dialog title. |
- Returns
- Current find_dialog instance.
◆ whole_word() [1/2]
bool xtd::forms::find_dialog::whole_word |
( |
| ) |
const |
Gets the whole word value.
- Returns
- true if whole word option selected; otherwise false. The default is false.
◆ whole_word() [2/2]
find_dialog& xtd::forms::find_dialog::whole_word |
( |
bool |
value | ) |
|
Sets the whole word value.
- Parameters
-
value | true if whole word option selected; otherwise false. The default is false. |
- Returns
- Current find_dialog instance.
The documentation for this class was generated from the following file: