FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    StyledElementProps

    trait · ferroui-view · v0.5.0

    trait StyledElementProps: ElementBuilder
    

    The properties and routed events of StyledElement.

    View source

    Members

    data_context

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

    Sets StyledElement::data_context_property.

    Source

    theme

    fn theme<M>(self: Self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_base::styling::ControlTheme>>, M>) -> Self
    

    Sets StyledElement::theme_property.

    Source

    actual_theme_variant

    fn actual_theme_variant<M>(self: Self, value: impl IntoProp<Option<ferroui_base::styling::ThemeVariant>, M>) -> Self
    

    Sets ThemeVariant::actual_theme_variant_property.

    Source

    requested_theme_variant

    fn requested_theme_variant<M>(self: Self, value: impl IntoProp<Option<ferroui_base::styling::ThemeVariant>, M>) -> Self
    

    Sets ThemeVariant::requested_theme_variant_property.

    Source

    Trait implementations

    Availability

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