TreeViewFilterBehavior
struct · ferroui-xaml-interactions-custom · v0.5.0
struct TreeViewFilterBehavior
Filters TreeView items based on the text of a search box.
Members
TYPEto_refsearch_box_propertyno_matches_control_propertyconstructnewsearch_boxset_search_boxno_matches_controlset_no_matches_control
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<TreeViewFilterBehavior>
Returns a strong reference to this object.
search_box_property
fn search_box_property() -> &'static StyledProperty<Option<ElementRef<TextBox>>>
Identifies the SearchBox property.
Deviation (DEVIATIONS.md, Behaviors): the behavior does not own the search box, so the value is an element reference.
no_matches_control_property
fn no_matches_control_property() -> &'static StyledProperty<Option<ElementRef<Control>>>
Identifies the NoMatchesControl property.
Deviation (DEVIATIONS.md, Behaviors): the behavior does not own the control, so the value is an element reference.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new() -> Ref<Self>
Creates a behavior.
search_box
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.
set_search_box
fn set_search_box(self: &Self, value: impl Into<Nullable<TextBox>>)
no_matches_control
fn no_matches_control(self: &Self) -> Option<Ref<Control>>
Gets or sets the control displayed when no matches are found. Markup resolves a name given for it to the named element.
set_no_matches_control
fn set_no_matches_control(self: &Self, value: impl Into<Nullable<Control>>)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtStyledElementImplExtClassDefaultsErasedDestructorIntoEitherStyledElementBehaviorImplExtDerefUpcast<T>Upcast<TreeViewFilterBehavior>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplStyledElementImplStyledElementBehaviorImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.