FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    use_data_context_value

    function · ferroui-view · v0.5.0

    fn use_data_context_value() -> Option<ferroui_base::BoxedValue>
    

    The DataContext of the control the component is mounted in (inherited from its ancestors), as it is now; the component runs again when it changes. This is how a component reads the item of an item template (template) or the view model of a view it is hosted in (ComponentHost).

    View source

    Availability

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