user34537
user34537

Reputation:

Filesystem TreeView

Is there a control that will allow me to click through folders on the FS? Like the left tab after you right click a file and hit explore in explorer?

Upvotes: 1

Views: 2138

Answers (3)

Grokys
Grokys

Reputation: 16526

I have written a library that might be able to help you. You can find it at: http://gong-shell.sourceforge.net/

The control you're looking for is the ShellTreeView.

Upvotes: 1

Kevin Tighe
Kevin Tighe

Reputation: 21161

I don't think there is a control to do this for you, but it's relatively easy with the TreeView control. Check out this example.

Upvotes: 3

JaredPar
JaredPar

Reputation: 754615

If you're asking is there a WinForms/WPF control that will allow you to do this then the answer is no. There is no such built-in control that can be used for this purpose.

You can however open up a modal dialog which does this by using the OpenFileDialog.

using (var diag = new OpenFileDialog()) {
  var result = diag.ShowDialog();
  var fileName = diag.FileName;
}

Upvotes: 1

Related Questions