ScrollViewerProps
trait · ferroui-view · v0.5.0
trait ScrollViewerProps: ElementBuilder
The properties and routed events of ScrollViewer.
Members
bring_into_view_on_focus_changeoffsetzoom_modemin_zoom_factormax_zoom_factorhorizontal_scroll_bar_visibilityhorizontal_snap_points_typevertical_snap_points_typehorizontal_snap_points_alignmentvertical_snap_points_alignmentvertical_scroll_bar_visibilityis_expandedallow_auto_hideis_scroll_chaining_enabledis_scroll_inertia_enabledis_deferred_scrolling_enabledon_scroll_changed
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.
offset
fn offset<M>(self: Self, value: impl IntoProp<ferroui_base::Vector, M>) -> Self
Sets ScrollViewer::offset_property.
zoom_mode
fn zoom_mode<M>(self: Self, value: impl IntoProp<ferroui_controls::ZoomMode, M>) -> Self
Sets ScrollViewer::zoom_mode_property.
min_zoom_factor
fn min_zoom_factor<M>(self: Self, value: impl IntoProp<f32, M>) -> Self
Sets ScrollViewer::min_zoom_factor_property.
max_zoom_factor
fn max_zoom_factor<M>(self: Self, value: impl IntoProp<f32, M>) -> Self
Sets ScrollViewer::max_zoom_factor_property.
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.
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.
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.
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.
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.
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.
is_expanded
fn is_expanded<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
Sets ScrollViewer::is_expanded_property.
allow_auto_hide
fn allow_auto_hide<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
Sets ScrollViewer::allow_auto_hide_property.
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.
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.
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.
on_scroll_changed
fn on_scroll_changed(self: Self, handler: impl Fn(&ferroui_controls::ScrollChangedEventArgs) -> () + 'static) -> Self
Handles ScrollViewer::scroll_changed_event.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.