FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ScrollBarProps

    trait · ferroui-view · v0.5.0

    trait ScrollBarProps: ElementBuilder
    

    The properties and routed events of ScrollBar.

    View source

    Members

    viewport_size

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

    Sets ScrollBar::viewport_size_property.

    Source

    visibility

    fn visibility<M>(self: Self, value: impl IntoProp<ferroui_controls::primitives::ScrollBarVisibility, M>) -> Self
    

    Sets ScrollBar::visibility_property.

    Source

    orientation

    fn orientation<M>(self: Self, value: impl IntoProp<ferroui_base::layout::Orientation, M>) -> Self
    

    Sets ScrollBar::orientation_property.

    Source

    allow_auto_hide

    fn allow_auto_hide<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
    

    Sets ScrollBar::allow_auto_hide_property.

    Source

    hide_delay

    fn hide_delay<M>(self: Self, value: impl IntoProp<std::time::Duration, M>) -> Self
    

    Sets ScrollBar::hide_delay_property.

    Source

    show_delay

    fn show_delay<M>(self: Self, value: impl IntoProp<std::time::Duration, M>) -> Self
    

    Sets ScrollBar::show_delay_property.

    Source

    Trait implementations

    Availability

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