FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ScrollGestureRecognizerProps

    trait · ferroui-view · v0.5.0

    trait ScrollGestureRecognizerProps: ElementBuilder
    

    The properties and routed events of ScrollGestureRecognizer.

    View source

    Members

    can_horizontally_scroll

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

    Sets ScrollGestureRecognizer::can_horizontally_scroll_property.

    Source

    can_vertically_scroll

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

    Sets ScrollGestureRecognizer::can_vertically_scroll_property.

    Source

    is_scroll_inertia_enabled

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

    Sets ScrollGestureRecognizer::is_scroll_inertia_enabled_property.

    Source

    scroll_start_distance

    fn scroll_start_distance<M>(self: Self, value: impl IntoProp<i32, M>) -> Self
    

    Sets ScrollGestureRecognizer::scroll_start_distance_property.

    Source

    offset

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

    Sets ScrollGestureRecognizer::offset_property.

    Source

    extent

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

    Sets ScrollGestureRecognizer::extent_property.

    Source

    viewport

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

    Sets ScrollGestureRecognizer::viewport_property.

    Source

    Trait implementations

    Availability

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