AutoScrollDuringDragBehavior
struct · ferroui-xaml-interactions-draggable · v0.5.0
struct AutoScrollDuringDragBehavior
Automatically scrolls the associated ScrollViewer when the pointer is dragged near its
edges.
Members
TYPEto_refedge_distance_propertyscroll_delta_propertyconstructnewedge_distanceset_edge_distancescroll_deltaset_scroll_delta
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<AutoScrollDuringDragBehavior>
Returns a strong reference to this object.
edge_distance_property
fn edge_distance_property() -> &'static StyledProperty<f64>
Identifies the EdgeDistance property.
scroll_delta_property
fn scroll_delta_property() -> &'static StyledProperty<f64>
Identifies the ScrollDelta property.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new() -> Ref<Self>
Creates the behavior.
edge_distance
fn edge_distance(self: &Self) -> f64
Gets or sets the distance from the edge that triggers scrolling.
set_edge_distance
fn set_edge_distance(self: &Self, value: f64)
scroll_delta
fn scroll_delta(self: &Self) -> f64
Gets or sets the amount scrolled when triggered.
set_scroll_delta
fn set_scroll_delta(self: &Self, value: f64)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtStyledElementImplExtClassDefaultsErasedDestructorIntoEitherStyledElementBehaviorImplExtDerefUpcast<T>Upcast<AutoScrollDuringDragBehavior>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplStyledElementImplStyledElementBehaviorImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.