Skip to content

Repository files navigation

Class FileBrowserContextMenuStrip

Windows Forms ContextMenuStrip for cascading browsing of folders and files.

ScreenShot

publicclassFileBrowserContextMenuStrip:ContextMenuStrip

Constructors

publicFileBrowserContextMenuStrip()
publicFileBrowserContextMenuStrip(IContainer? components)// components: container for disposing.
Parameters

componentsIContainer?

Form components for disposing.

Properties

// Menu items to show after the "Options" menu item.// Add menu items into AfterOptions to add custom menu item controls.publicICollection<ToolStripItem>AfterOptions{get;}
// Title for the options dialogpublicstringOptionsFormTitle{get;set;}
// Persistence identifier to make multiple instances unique.publicstringPersistenceId{get;set;}
// If true, show file extensions in the menu items.[Bindable(true)]publicboolShowFileExtensions{get;set;}
// If true, Show Shell Menu on right-click// Shell menu provides an explorer-like menu for file actions such as copy/paste etc.[Bindable(true)]publicboolShowShellMenu{get;set;}
// Path to start browsing from.[Bindable(true)]publicstring?StartPath{get;set;}

Events

// Raised when the user clicks on a file MenuItem.publiceventEventHandler<FileInfo>? FileMenuItemClicked
publiceventPropertyChangedEventHandler? PropertyChanged

About

A file/folder cascading WinForms context menu for file selection

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Used by

Contributors

Languages