Provides data for the xtd::forms::replace_dialog::replace and xtd::forms::replace_dialog::replace_all events.
Constructors | |
replace_event_args ()=default | |
Initializes a new instance of the xtd::forms::replace_event_args class. More... | |
replace_event_args (const xtd::ustring &find_string, const xtd::ustring &replace_string, bool match_case, bool whole_word) | |
Initializes a new instance of the xtd::forms::replace_event_args class. More... | |
Properties | |
const xtd::ustring & | find_string () const noexcept |
Gets the string to find. More... | |
const xtd::ustring & | replace_string () const noexcept |
Gets the replaced string. More... | |
bool | match_case () const noexcept |
Gets the match case value. More... | |
bool | whole_word () const noexcept |
Gets the whole word value. More... | |
Additional Inherited Members | |
![]() | |
static const event_args | empty |
Provides a value to use with events that do not have event data. More... | |
![]() | |
event_args ()=default | |
Initializes a new instance of the event_args class. More... | |
![]() | |
object ()=default | |
Create a new instance of the ultimate base class object. More... | |
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... | |
virtual type_object | get_type () const noexcept |
Gets the type of the current instance. More... | |
template<typename object_t > | |
std::unique_ptr< object_t > | memberwise_clone () const noexcept |
Creates a shallow copy of the current object. 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... | |
|
default |
Initializes a new instance of the xtd::forms::replace_event_args class.
|
inline |
Initializes a new instance of the xtd::forms::replace_event_args class.
find_string | The string to find. |
replace_string | A string that specifies the replaced text. |
match_case | true if match case option selected; otherwise false. |
whole_word | One of xtd::forms::search_direction values. |
|
inlinenoexcept |
Gets the string to find.
|
inlinenoexcept |
Gets the match case value.
|
inlinenoexcept |
Gets the replaced string.
|
inlinenoexcept |
Gets the whole word value.