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.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<AutoScrollToBottomBehavior>
Returns a strong reference to this object.
items_source_property
fn items_source_property() -> &'static StyledProperty<Option<BoxedValue>>
Identifies the ItemsSource property.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new() -> Ref<Self>
Creates a behavior.
items_source
fn items_source(self: &Self) -> Option<BoxedValue>
Gets or sets the items source to monitor for changes.
set_items_source
fn set_items_source(self: &Self, value: Option<BoxedValue>)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtStyledElementImplExtClassDefaultsErasedDestructorIntoEitherStyledElementBehaviorImplExtDerefUpcast<T>Upcast<AutoScrollToBottomBehavior>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleStyledElementImplStyledElementBehaviorImplFerroObjectImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.