FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ApplyTreeViewFilterAction

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

    struct ApplyTreeViewFilterAction
    

    Filters a TreeView using the provided query string.

    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<ApplyTreeViewFilterAction>
    

    Returns a strong reference to this object.

    Source

    tree_view_property

    fn tree_view_property() -> &'static StyledProperty<Option<ElementRef<TreeView>>>
    

    Identifies the TreeView property.

    Deviation (DEVIATIONS.md, Behaviors): the action does not own the tree view, so the value is an element reference.

    Source

    query_property

    fn query_property() -> &'static StyledProperty<Option<String>>
    

    Identifies the Query property.

    Source

    construct

    fn construct() -> Self
    

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

    Source

    new

    fn new() -> Ref<Self>
    

    Creates an action.

    Source

    tree_view

    fn tree_view(self: &Self) -> Option<Ref<TreeView>>
    

    Gets or sets the tree view to filter. Markup resolves a name given for it to the named element.

    Source

    set_tree_view

    fn set_tree_view(self: &Self, value: impl Into<Nullable<TreeView>>)
    

    Source

    query

    fn query(self: &Self) -> Option<String>
    

    Gets or sets the filter query string.

    Source

    set_query

    fn set_query(self: &Self, value: Option<String>)
    

    Source

    Trait implementations

    Availability

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