FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    BlockProps

    trait · ferroui-view · v0.5.0

    trait BlockProps: ElementBuilder
    

    The properties and routed events of Block.

    View source

    Members

    text_alignment

    fn text_alignment<M>(self: Self, value: impl IntoProp<ferroui_base::media::TextAlignment, M>) -> Self
    

    Sets Block::text_alignment_property.

    Source

    line_height

    fn line_height<M>(self: Self, value: impl IntoProp<f64, M>) -> Self
    

    Sets Block::line_height_property.

    Source

    line_stacking_strategy

    fn line_stacking_strategy<M>(self: Self, value: impl IntoProp<ferroui_controls::documents::LineStackingStrategy, M>) -> Self
    

    Sets Block::line_stacking_strategy_property.

    Source

    margin

    fn margin<M>(self: Self, value: impl IntoProp<ferroui_base::Thickness, M>) -> Self
    

    Sets Block::margin_property.

    Source

    flow_direction

    fn flow_direction<M>(self: Self, value: impl IntoProp<ferroui_base::media::FlowDirection, M>) -> Self
    

    Sets Block::flow_direction_property.

    Source

    Trait implementations

    Availability

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