FilesPreviewBehavior
struct · ferroui-xaml-interactions-draganddrop · v0.5.0
struct FilesPreviewBehavior
Behavior that collects the files dragged over the associated control: the
preview_files hold them while the drag is over the control.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<FilesPreviewBehavior>
Returns a strong reference to this object.
preview_files_property
fn preview_files_property() -> &'static DirectProperty<FilesPreviewBehavior, FerroList<Rc<dyn IStorageItem>>>
Identifies the PreviewFiles property.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new() -> Ref<Self>
Creates the behavior.
preview_files
fn preview_files(self: &Self) -> FerroList<Rc<dyn IStorageItem>>
Gets the collection of files currently previewed (created on first use).
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeDragAndDropEventsBehaviorImplExtBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtStyledElementImplExtClassDefaultsErasedDestructorIntoEitherStyledElementBehaviorImplExtDerefUpcast<T>Upcast<FilesPreviewBehavior>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplStyledElementImplStyledElementBehaviorImplDragAndDropEventsBehaviorImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.