FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    TreeViewFilterTextChangedTrigger

    struct · ferroui-xaml-interactions-custom · v0.5.0

    struct TreeViewFilterTextChangedTrigger
    

    Executes actions when the search box text changes, with the args of the change as the parameter.

    View source

    Members

    TYPE

    const TYPE: &'static $crate::TypeInfo
    

    The runtime type of this class.

    Source

    to_ref

    fn to_ref(self: &Self) -> $crate::Ref<TreeViewFilterTextChangedTrigger>
    

    Returns a strong reference to this object.

    Source

    search_box_property

    fn search_box_property() -> &'static StyledProperty<Option<ElementRef<TextBox>>>
    

    Identifies the SearchBox property.

    Deviation (DEVIATIONS.md, Behaviors): the trigger does not own the search box, so the value is an element reference.

    Source

    construct

    fn construct() -> Self
    

    Creates the class data; see ferroui_base::FerroObject::construct.

    Source

    new

    fn new() -> Ref<Self>
    

    Creates a trigger.

    Source

    fn search_box(self: &Self) -> Option<Ref<TextBox>>
    

    Gets or sets the search box control. Markup resolves a name given for it to the named element.

    Source

    fn set_search_box(self: &Self, value: impl Into<Nullable<TextBox>>)
    

    Source

    Trait implementations

    Availability

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