ScrollViewerOffsetBehavior
struct · ferroui-xaml-interactions-custom · v0.5.0
struct ScrollViewerOffsetBehavior
Sets the offset of the associated ScrollViewer.
Members
TYPEto_refhorizontal_offset_propertyvertical_offset_propertyconstructnewhorizontal_offsetset_horizontal_offsetvertical_offsetset_vertical_offset
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<ScrollViewerOffsetBehavior>
Returns a strong reference to this object.
horizontal_offset_property
fn horizontal_offset_property() -> &'static StyledProperty<Option<f64>>
Identifies the HorizontalOffset property.
vertical_offset_property
fn vertical_offset_property() -> &'static StyledProperty<Option<f64>>
Identifies the VerticalOffset property.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new() -> Ref<Self>
Creates a behavior.
horizontal_offset
fn horizontal_offset(self: &Self) -> Option<f64>
Gets or sets the horizontal offset value. This is a property of the object model.
set_horizontal_offset
fn set_horizontal_offset(self: &Self, value: Option<f64>)
vertical_offset
fn vertical_offset(self: &Self) -> Option<f64>
Gets or sets the vertical offset value. This is a property of the object model.
set_vertical_offset
fn set_vertical_offset(self: &Self, value: Option<f64>)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeAttachedToVisualTreeBehaviorImplExtBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtStyledElementImplExtClassDefaultsErasedDestructorIntoEitherDisposingBehaviorImplExtStyledElementBehaviorImplExtDerefUpcast<T>Upcast<ScrollViewerOffsetBehavior>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleStyledElementImplStyledElementBehaviorImplDisposingBehaviorImplFerroObjectImplAttachedToVisualTreeBehaviorImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.