pub struct FilePickerEventArgs { /* private fields */ }Expand description
Event args raised after a file pick operation completes.
Implementations§
Source§impl FilePickerEventArgs
impl FilePickerEventArgs
Sourcepub fn new(files: Vec<StorageFileRef>) -> Self
pub fn new(files: Vec<StorageFileRef>) -> Self
Initializes a new instance with the collection of files returned by the picker.
Sourcepub fn files(&self) -> &[StorageFileRef]
pub fn files(&self) -> &[StorageFileRef]
Gets the collection of files returned by the picker.
Sourcepub fn handled(&self) -> bool
pub fn handled(&self) -> bool
Gets or sets a value indicating whether the pick operation has been handled.
pub fn set_handled(&self, value: bool)
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for FilePickerEventArgs
impl !RefUnwindSafe for FilePickerEventArgs
impl !Send for FilePickerEventArgs
impl !Sync for FilePickerEventArgs
impl !UnwindSafe for FilePickerEventArgs
impl Unpin for FilePickerEventArgs
impl UnsafeUnpin for FilePickerEventArgs
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more