FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ScrollViewerProps

    trait · ferroui-view · v0.5.0

    trait ScrollViewerProps: ElementBuilder
    

    The properties and routed events of ScrollViewer.

    View source

    Members

    bring_into_view_on_focus_change

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

    Sets ScrollViewer::bring_into_view_on_focus_change_property.

    Source

    offset

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

    Sets ScrollViewer::offset_property.

    Source

    zoom_mode

    fn zoom_mode<M>(self: Self, value: impl IntoProp<ferroui_controls::ZoomMode, M>) -> Self
    

    Sets ScrollViewer::zoom_mode_property.

    Source

    min_zoom_factor

    fn min_zoom_factor<M>(self: Self, value: impl IntoProp<f32, M>) -> Self
    

    Sets ScrollViewer::min_zoom_factor_property.

    Source

    max_zoom_factor

    fn max_zoom_factor<M>(self: Self, value: impl IntoProp<f32, M>) -> Self
    

    Sets ScrollViewer::max_zoom_factor_property.

    Source

    horizontal_scroll_bar_visibility

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

    Sets ScrollViewer::horizontal_scroll_bar_visibility_property.

    Source

    horizontal_snap_points_type

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

    Sets ScrollViewer::horizontal_snap_points_type_property.

    Source

    vertical_snap_points_type

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

    Sets ScrollViewer::vertical_snap_points_type_property.

    Source

    horizontal_snap_points_alignment

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

    Sets ScrollViewer::horizontal_snap_points_alignment_property.

    Source

    vertical_snap_points_alignment

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

    Sets ScrollViewer::vertical_snap_points_alignment_property.

    Source

    vertical_scroll_bar_visibility

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

    Sets ScrollViewer::vertical_scroll_bar_visibility_property.

    Source

    is_expanded

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

    Sets ScrollViewer::is_expanded_property.

    Source

    allow_auto_hide

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

    Sets ScrollViewer::allow_auto_hide_property.

    Source

    is_scroll_chaining_enabled

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

    Sets ScrollViewer::is_scroll_chaining_enabled_property.

    Source

    is_scroll_inertia_enabled

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

    Sets ScrollViewer::is_scroll_inertia_enabled_property.

    Source

    is_deferred_scrolling_enabled

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

    Sets ScrollViewer::is_deferred_scrolling_enabled_property.

    Source

    on_scroll_changed

    fn on_scroll_changed(self: Self, handler: impl Fn(&ferroui_controls::ScrollChangedEventArgs) -> () + 'static) -> Self
    

    Handles ScrollViewer::scroll_changed_event.

    Source

    Trait implementations

    Availability

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