Cyberguille
Cyberguille

Reputation: 1602

How to remove make new folder FolderBrowserDialog

Hi I'm using FolderBrowserDialog with wpf in visual studio 2013 but i want remove the button make new folder because in my application is meaningless, I see this article http://www.codeproject.com/Articles/14454/Extended-Folder-Browser that disable this button but I would remove this button

Upvotes: 4

Views: 3278

Answers (1)

Spevy
Spevy

Reputation: 1325

There is a property which allows you to hide it.

var x = new FolderBrowserDialog();
x.ShowNewFolderButton = false;

Check out the class documentation here: FolderBrowserDialog Class

Upvotes: 10

Related Questions