FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ScrollViewerOffsetBehavior

    struct · ferroui-xaml-interactions-custom · v0.5.0

    struct ScrollViewerOffsetBehavior
    

    Sets the offset of the associated ScrollViewer.

    View source

    Members

    TYPE

    const TYPE: &'static $crate::TypeInfo
    

    The runtime type of this class.

    Source

    to_ref

    fn to_ref(self: &Self) -> $crate::Ref<ScrollViewerOffsetBehavior>
    

    Returns a strong reference to this object.

    Source

    horizontal_offset_property

    fn horizontal_offset_property() -> &'static StyledProperty<Option<f64>>
    

    Identifies the HorizontalOffset property.

    Source

    vertical_offset_property

    fn vertical_offset_property() -> &'static StyledProperty<Option<f64>>
    

    Identifies the VerticalOffset property.

    Source

    construct

    fn construct() -> Self
    

    Creates the class data; see ferroui_base::FerroObject::construct.

    Source

    new

    fn new() -> Ref<Self>
    

    Creates a behavior.

    Source

    horizontal_offset

    fn horizontal_offset(self: &Self) -> Option<f64>
    

    Gets or sets the horizontal offset value. This is a property of the object model.

    Source

    set_horizontal_offset

    fn set_horizontal_offset(self: &Self, value: Option<f64>)
    

    Source

    vertical_offset

    fn vertical_offset(self: &Self) -> Option<f64>
    

    Gets or sets the vertical offset value. This is a property of the object model.

    Source

    set_vertical_offset

    fn set_vertical_offset(self: &Self, value: Option<f64>)
    

    Source

    Trait implementations

    Availability

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