ItemNudgeDropBehavior
struct · ferroui-xaml-interactions-custom · v0.5.0
struct ItemNudgeDropBehavior
Moves the containers of the associated ItemsControl aside while an item is dragged over
it: the containers after the drag position are translated by their size along the
orientation, to show where the item drops. The translations are removed
when the drag leaves or drops.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<ItemNudgeDropBehavior>
Returns a strong reference to this object.
orientation_property
fn orientation_property() -> &'static StyledProperty<Orientation>
Identifies the Orientation property.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new() -> Ref<Self>
Creates a behavior.
orientation
fn orientation(self: &Self) -> Orientation
Gets or sets the orientation along which the containers move aside.
set_orientation
fn set_orientation(self: &Self, value: Orientation)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtStyledElementImplExtClassDefaultsErasedDestructorIntoEitherStyledElementBehaviorImplExtDerefUpcast<T>Upcast<ItemNudgeDropBehavior>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplStyledElementImplStyledElementBehaviorImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.