FAQ & Knowledge Base

Herzlich Willkommen in unserer Wissensdatenbank. Nutzen Sie die Suchfunktion oder durchstöbern Sie unsere Kategorien, um Antworten auf Ihre Fragen zu erhalten.

Kategorien: ShellBrowser .NET Components | Alle Kategorien anzeigen

Die folgenden Inhalte sind leider nicht auf Deutsch verfügbar.

How to handle the opening of elements in ExplorerBrowser

Frage / Problem

I want to handle the double click on a file in ExplorerBrowser myself. Is there an event I can use to catch the opening file and to cancel the open action?

Antwort / Lösung

Use the DefaultAction event. It is called when the user double-clicks an item, or opens it via pressing <Enter>.

You can cancel the default operation by setting the InvocationProcessed property of the passed event arguments to true.