FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    AutoScrollToBottomBehavior

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

    struct AutoScrollToBottomBehavior
    

    A behavior that automatically scrolls to the bottom of a ScrollViewer or ItemsControl when new items are added.

    The scrolling follows the content while the viewer is at its bottom; once the user scrolls away from the bottom it stops, until the user scrolls back.

    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<AutoScrollToBottomBehavior>
    

    Returns a strong reference to this object.

    Source

    items_source_property

    fn items_source_property() -> &'static StyledProperty<Option<BoxedValue>>
    

    Identifies the ItemsSource 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

    items_source

    fn items_source(self: &Self) -> Option<BoxedValue>
    

    Gets or sets the items source to monitor for changes.

    Source

    set_items_source

    fn set_items_source(self: &Self, value: Option<BoxedValue>)
    

    Source

    Trait implementations

    Availability

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