TextSearch
struct · ferroui-controls · v0.5.0
struct TextSearch
Allows to customize text searching in selecting items controls.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this type.
text_property
fn text_property() -> &'static AttachedProperty<Option<String>>
Defines the Text attached property.
This text will be considered during text search in selecting
items controls (such as a combo box). This property is usually
applied to an item container directly.
text_binding_property
fn text_binding_property() -> &'static AttachedProperty<Option<AssignedBinding>>
Defines the TextBinding attached property.
The binding will be applied to each item during text search in
selecting items controls (such as a combo box).
set_text
fn set_text(element: &FerroObject, text: Option<String>)
Sets the value of the Text attached property to a given element.
get_text
fn get_text(element: &FerroObject) -> Option<String>
Gets the value of the Text attached property from a given element.
set_text_binding
fn set_text_binding(element: &FerroObject, value: Option<AssignedBinding>)
Sets the value of the TextBinding attached property to a given
element.
get_text_binding
fn get_text_binding(element: &FerroObject) -> Option<AssignedBinding>
Gets the value of the TextBinding attached property from a given
element.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyClassDefaultsErasedDestructorIntoEitherStaticType
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.