Knowledgebase

status_loader

How to handle the opening of elements in ExplorerBrowser

Question / 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?

Answer / Solution

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.

Need further help getting started?

You did not find what you were looking for? Please contact us so we can provide an answer to your question.

Contact Form