FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    TextSearch

    struct · ferroui-controls · v0.5.0

    struct TextSearch
    

    Allows to customize text searching in selecting items controls.

    View source

    Members

    TYPE

    const TYPE: &'static $crate::TypeInfo
    

    The runtime type of this type.

    Source

    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.

    Source

    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).

    Source

    set_text

    fn set_text(element: &FerroObject, text: Option<String>)
    

    Sets the value of the Text attached property to a given element.

    Source

    get_text

    fn get_text(element: &FerroObject) -> Option<String>
    

    Gets the value of the Text attached property from a given element.

    Source

    set_text_binding

    fn set_text_binding(element: &FerroObject, value: Option<AssignedBinding>)
    

    Sets the value of the TextBinding attached property to a given element.

    Source

    get_text_binding

    fn get_text_binding(element: &FerroObject) -> Option<AssignedBinding>
    

    Gets the value of the TextBinding attached property from a given element.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • StaticType

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.