FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ClearAutoCompleteBoxSelectionAction

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

    struct ClearAutoCompleteBoxSelectionAction
    

    Clears the selection and text of an AutoCompleteBox.

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

    Returns a strong reference to this object.

    Source

    auto_complete_box_property

    fn auto_complete_box_property() -> &'static StyledProperty<Option<ElementRef<AutoCompleteBox>>>
    

    Identifies the AutoCompleteBox property.

    Deviation (DEVIATIONS.md, Behaviors): the action does not own the 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 an action.

    Source

    auto_complete_box

    fn auto_complete_box(self: &Self) -> Option<Ref<AutoCompleteBox>>
    

    Gets or sets the target AutoCompleteBox. This is a property of the object model. Markup resolves a name given for it to the named element.

    Source

    set_auto_complete_box

    fn set_auto_complete_box(self: &Self, value: impl Into<Nullable<AutoCompleteBox>>)
    

    Source

    Trait implementations

    Availability

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