FAQ & Knowledge Base

Welcome to our Knowledge Base. Search or browse through the topics below to find answers to your questions.

Categories: ShellBrowser .NET Components | Show all categories

Prevent default action

Question / Problem

I don't want a file or folder to be opened on double-click. How do I prevent this?

Answer / Solution

Implement the BeforeInvokeCommandOnSelected event and in the eventhandler set e.InvocationProcessed = true to intercept the default action.

Another option is to implement the FolderChanging event of an attached ShellControlConnector.