ListReorderDragBehavior
struct · ferroui-xaml-interactions-draggable · v0.5.0
struct ListReorderDragBehavior
Allows reordering of items inside an ItemsControl while displaying a placeholder at the
insertion point.
The placeholder is built from placeholder_template and shown in
the adorner layer over the container at the index the item would be dropped at.
Members
TYPEto_refplaceholder_template_propertyconstructnewplaceholder_templateset_placeholder_template
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<ListReorderDragBehavior>
Returns a strong reference to this object.
placeholder_template_property
fn placeholder_template_property() -> &'static StyledProperty<Option<Rc<dyn ITemplate>>>
Identifies the PlaceholderTemplate property.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new() -> Ref<Self>
Creates the behavior.
placeholder_template
fn placeholder_template(self: &Self) -> Option<Rc<dyn ITemplate>>
Gets or sets template used to build placeholder shown while reordering.
set_placeholder_template
fn set_placeholder_template(self: &Self, value: Option<Rc<dyn ITemplate>>)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtStyledElementImplExtClassDefaultsErasedDestructorIntoEitherStyledElementBehaviorImplExtDerefUpcast<T>Upcast<ListReorderDragBehavior>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplStyledElementImplStyledElementBehaviorImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.