FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ReactiveViewFor

    struct · ferroui-reactiveui-controls · v0.5.0

    struct ReactiveViewFor<C: IReactiveViewClass>
    

    A control with a ViewModel property as an untyped view of ReactiveUI (IViewFor).

    View source

    Members

    new

    fn new(control: Ref<C>) -> Rc<Self>
    

    The view of control, which it keeps alive.

    Source

    weak

    fn weak(control: &Ref<C>) -> Rc<Self>
    

    The view of control, which it does not keep alive (the view a control activates itself with).

    Source

    control

    fn control(self: &Self) -> Option<Ref<C>>
    

    The control, while it is alive.

    Source

    into_view_for

    fn into_view_for(self: Rc<Self>) -> Rc<dyn IViewFor>
    

    The view as IViewFor.

    Source

    Trait implementations

    Availability

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