Delen via


Application.OnFileOpenPickerActivated Method

Definition

Invoked when the application is activated through file-open dialog association.

protected:
 virtual void OnFileOpenPickerActivated(FileOpenPickerActivatedEventArgs ^ args) = OnFileOpenPickerActivated;
void OnFileOpenPickerActivated(FileOpenPickerActivatedEventArgs const& args);
protected virtual void OnFileOpenPickerActivated(FileOpenPickerActivatedEventArgs args);
function onFileOpenPickerActivated(args)
Protected Overridable Sub OnFileOpenPickerActivated (args As FileOpenPickerActivatedEventArgs)

Parameters

args
FileOpenPickerActivatedEventArgs

Event data for the event.

Remarks

OnFileOpenPickerActivated is a pre-defined activation point handler that is invoked for a core Activated event when the ActivationKind is FileOpenPicker.

All Application overrides involved in an activation scenario should call Window.Activate in their implementations.

Applies to

See also