FileOpenPickerUI.FileRemoved | fileremoved event
Fires when the user removes a file from the list of files that the user has chosen if that file was added by the app that is providing files.
Public Event FileRemoved As TypedEventHandler(Of FileOpenPickerUI, FileRemovedEventArgs)
If your app participates in the File Open Picker contract and your app uses the app page that is hosted in the file picker to visually indicate which items the user selects, you should respond to this event. When a fileremoved event fires you should update your app's file picker page to reflect the change. Learn more about responding to this event in fileRemovedEventArgs.
The File picker sample demonstrates how to respond to a fileremoved event handler.
e (in C# and JS respectively) contain a FileRemovedEventArgs object.
SdkSample.fileRemoved is an app variable that contains a string that used to used to notify the user.
id is an app variable that gets an identifier for the file and
UpdateButtonState is one of the app's helper methods.
Minimum supported client
Minimum supported server
|Windows Server 2012|
Build date: 12/4/2012