AddPreviewFilesAction
struct · ferroui-xaml-interactions-draganddrop · v0.5.0
struct AddPreviewFilesAction
Adds the files of a drag event (the parameter of the action) to the items of an
ItemsControl: the items_control, or else the sender.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<AddPreviewFilesAction>
Returns a strong reference to this object.
items_control_property
fn items_control_property() -> &'static StyledProperty<Option<ElementRef<ItemsControl>>>
Identifies the ItemsControl property.
Deviation (DEVIATIONS.md, Behaviors): the items control is held by an element reference (a weak reference), as the framework holds the elements a property names.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new() -> Ref<Self>
Creates the action.
items_control
fn items_control(self: &Self) -> Option<Ref<ItemsControl>>
Gets or sets the items control used to display preview.
set_items_control
fn set_items_control(self: &Self, value: Option<Ref<ItemsControl>>)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtStyledElementImplExtClassDefaultsErasedDestructorIntoEitherStyledElementActionImplExtDerefUpcast<T>Upcast<AddPreviewFilesAction>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplStyledElementImplStyledElementActionImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.