ContextDropBehavior
struct · ferroui-xaml-interactions-draganddrop · v0.5.0
struct ContextDropBehavior
Behavior that enables dropping context data onto the associated control using a predefined
IDropHandler.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<ContextDropBehavior>
Returns a strong reference to this object.
handler_property
fn handler_property() -> &'static StyledProperty<Option<Rc<dyn IDropHandler>>>
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 IDropHandler>>
Gets or sets the drop handler that receives drop notifications.
set_handler
fn set_handler(self: &Self, value: Option<Rc<dyn IDropHandler>>)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeContextDropBehaviorBaseImplExtBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtStyledElementImplExtClassDefaultsErasedDestructorIntoEitherStyledElementBehaviorImplExtDerefUpcast<T>Upcast<ContextDropBehavior>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplStyledElementImplStyledElementBehaviorImplContextDropBehaviorBaseImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.