FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ViewModelViewHostProps

    trait · ferroui-view · v0.5.0

    trait ViewModelViewHostProps: ElementBuilder
    

    The properties and routed events of ViewModelViewHost.

    View source

    Members

    view_model

    fn view_model<M>(self: Self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self
    

    Sets ViewModelViewHost::view_model_property.

    Source

    view_contract

    fn view_contract<M>(self: Self, value: impl IntoProp<Option<String>, M>) -> Self
    

    Sets ViewModelViewHost::view_contract_property.

    Source

    default_content

    fn default_content<M>(self: Self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self
    

    Sets ViewModelViewHost::default_content_property.

    Source

    Trait implementations

    Availability

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