FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    BorderProps

    trait · ferroui-view · v0.5.0

    trait BorderProps: ElementBuilder
    

    The properties and routed events of Border.

    View source

    Members

    background

    fn background<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self
    

    Sets Border::background_property.

    Source

    background_sizing

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

    Sets Border::background_sizing_property.

    Source

    border_brush

    fn border_brush<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self
    

    Sets Border::border_brush_property.

    Source

    border_thickness

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

    Sets Border::border_thickness_property.

    Source

    corner_radius

    fn corner_radius<M>(self: Self, value: impl IntoProp<ferroui_base::CornerRadius, M>) -> Self
    

    Sets Border::corner_radius_property.

    Source

    box_shadow

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

    Sets Border::box_shadow_property.

    Source

    Trait implementations

    Availability

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