FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    owned_element_property

    function · ferroui-reactiveui-controls · v0.5.0

    fn owned_element_property<V: 'static, T: ObjectType, TV: 'static>(name: &str, element: &ferroui_base::Ref<T>, property: ferroui_system::component_model::PropertyPath<ferroui_base::Ref<T>, TV>, set: impl Fn(&ferroui_base::Ref<T>, TV) -> () + 'static) -> ferroui_reactiveui::SettableProperty<std::rc::Rc<V>, TV>
    

    element_property whose step to the element names the view as the owner of the element, so that the binding hooks see the element and its property (the default item template of an items control, AutoDataTemplateBindingHook).

    View source

    Availability

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