FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    IReactiveViewClass

    trait · ferroui-reactiveui-controls · v0.5.0

    trait IReactiveViewClass: ObjectType + Upcast<ferroui_controls::Control>
    

    A control class with a ViewModel property of the untyped value of the property system.

    View source

    Members

    view_model_property

    fn view_model_property() -> &'static StyledProperty<Option<BoxedValue>>
    

    The ViewModel property of the class (ViewModelProperty).

    Source

    is_valid_view_model_value

    fn is_valid_view_model_value(self: &Self, value: Option<&BoxedValue>) -> bool
    

    Whether value may become the view model of the control (IsValidViewModelValue).

    Source

    Trait implementations

    Availability

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