TypedDragBehavior
struct · ferroui-xaml-interactions-draganddrop · v0.5.0
struct TypedDragBehavior
Behavior that initiates a drag operation for a specific data type, and notifies its
handler before and after the drag.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<TypedDragBehavior>
Returns a strong reference to this object.
handler_property
fn handler_property() -> &'static StyledProperty<Option<Rc<dyn IDragHandler>>>
Identifies the Handler property.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new() -> Ref<Self>
Creates the behavior.
handler
fn handler(self: &Self) -> Option<Rc<dyn IDragHandler>>
Gets or sets the handler that receives drag notifications.
set_handler
fn set_handler(self: &Self, value: Option<Rc<dyn IDragHandler>>)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeTypedDragBehaviorBaseImplExtBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtStyledElementImplExtClassDefaultsErasedDestructorIntoEitherStyledElementBehaviorImplExtDerefUpcast<T>Upcast<TypedDragBehavior>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplStyledElementImplStyledElementBehaviorImplTypedDragBehaviorBaseImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.