Click here to Skip to main content
15,884,629 members
Articles / Programming Languages / C#

Full implementation of IShellBrowser

Rate me:
Please Sign up or sign in to vote.
4.86/5 (29 votes)
5 May 2009CPOL4 min read 159.4K   3.2K   113  
A VS-like open and save file dialog implementation.
<?xml version="1.0"?>
<doc>
    <assembly>
        <name>FileDialogs</name>
    </assembly>
    <members>
        <member name="T:FileDialogs.SaveFileDialog">
            <summary>
            Prompts the user to select a location for saving a file. This class cannot be inherited.
            </summary>
        </member>
        <member name="T:FileDialogs.NativeMethods.IContextMenu">
            <summary>
            The IContextMenu interface is called by the Shell to either create
            or merge a shortcut menu associated with a Shell object.
            </summary>
        </member>
        <member name="T:FileDialogs.NativeMethods.CMINVOKECOMMANDINFOEX">
            <summary>
            Contains extended information about a shortcut menu command.
            </summary>
        </member>
        <member name="T:FileDialogs.NativeMethods.COMBOBOXINFO">
            <summary>
            Contains combo box status information.
            </summary>
        </member>
        <member name="T:FileDialogs.NativeMethods.POINT">
            <summary>
            The POINT structure defines the x- and y- coordinates of a point.
            </summary>
        </member>
        <member name="T:FileDialogs.NativeMethods.RECT">
            <summary>
            The RECT structure defines the coordinates of the upper-left
            and lower-right corners of a rectangle.
            </summary>
        </member>
        <member name="T:FileDialogs.NativeMethods.SHFILEINFO">
            <summary>
            Contains information about a file object.
            </summary>
        </member>
        <member name="F:FileDialogs.FileDialog.components">
            <summary>
            Required designer variable.
            </summary>
        </member>
        <member name="M:FileDialogs.FileDialog.Dispose(System.Boolean)">
            <summary>
            Clean up any resources being used.
            </summary>
            <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        </member>
        <member name="M:FileDialogs.FileDialog.InitializeComponent">
            <summary>
            Required method for Designer support - do not modify
            the contents of this method with the code editor.
            </summary>
        </member>
        <member name="M:FileDialogs.FileDialog.ShowDialog">
            <summary>
            Runs the file dialog box with the currently active window set as its owner.
            </summary>
            <returns><see cref="F:System.Windows.Forms.DialogResult.OK"></see> if the user clicks OK in the dialog box; otherwise, <see cref="F:System.Windows.Forms.DialogResult.Cancel"></see>.</returns>
        </member>
        <member name="M:FileDialogs.FileDialog.ShowDialog(System.Windows.Forms.IWin32Window)">
            <summary>
            Runs the file dialog box with the specified owner.
            </summary>
            <param name="owner"><see cref="F:System.Windows.Forms.DialogResult.OK"></see> if the user clicks OK in the dialog box; otherwise, <see cref="F:System.Windows.Forms.DialogResult.Cancel"></see>.</param>
            <returns><see cref="F:System.Windows.Forms.DialogResult.OK"></see> if the user clicks OK in the dialog box; otherwise, <see cref="F:System.Windows.Forms.DialogResult.Cancel"></see>.</returns>
        </member>
        <member name="P:FileDialogs.FileDialog.FileName">
            <summary>
            Gets or sets a string containing the file name selected in the file dialog box.
            </summary>
            <value>The file name selected in the file dialog box. The default value is an empty string ("").</value>
        </member>
        <member name="P:FileDialogs.FileDialog.FileNames">
            <summary>
            Gets the file names of all selected files in the dialog box.
            </summary>
            <value>An array of type <see cref="T:System.String"/>, containing the file names of all selected files in the dialog box.</value>
        </member>
        <member name="P:FileDialogs.FileDialog.Filter">
            <summary>
            Gets or sets the current file name filter string, which determines the choices that appear in the "Save as file type" or "Files of type" box in the dialog box.
            </summary>
            <value>The file filtering options available in the dialog box.</value>
            <exception cref="T:System.ArgumentException">Filter format is invalid.</exception>
        </member>
        <member name="P:FileDialogs.FileDialog.FilterIndex">
            <summary>
            Gets or sets the index of the filter currently selected in the file dialog box.
            </summary>
            <value>A value containing the index of the filter currently selected in the file dialog box. The default value is 1.</value>
        </member>
        <member name="P:FileDialogs.FileDialog.InitialDirectory">
            <summary>
            Gets or sets the initial directory displayed by the file dialog box.
            </summary>
            <value>The initial directory displayed by the file dialog box. The default is an empty string ("").</value>
        </member>
        <member name="P:FileDialogs.FileDialog.UseCreateNewFolderDialog">
            <summary>
            Gets or sets a value indicating whether to display a dialog when the create new folder button is clicked.
            </summary>
            <value>true if a dialog should be displayed when the create new folder button is clicked; otherwise, false. The default value is true.</value>
        </member>
        <member name="P:FileDialogs.FileDialog.ViewMode">
            <summary>
            Gets or sets the view mode to display in the shell view.
            </summary>
        </member>
        <member name="P:FileDialogs.FileDialog.RestoreLastViewMode">
            <summary>
            Gets or sets a value indicating whether to restore the last view mode when the dialog is shown.
            </summary>
            <value>true if the last view mode should be restored when the dialog is shown; otherwise, false. The default value is true.</value>
        </member>
        <member name="P:FileDialogs.FileDialog.Options">
            <summary>
            Gets the items of the drop-down portion of the OK button.
            </summary>
            <remarks>If no items is specified the OK button appears as a normal button.</remarks>
        </member>
        <member name="P:FileDialogs.FileDialog.SelectedOptionIndex">
            <summary>
            Gets the zero-based index of the selected option that was clicked from in the drop-down portion of the OK button.
            </summary>
            <returns>A zero-based index of the selected option that was clicked. A value of negative one (-1) is returned if the button was clicked.</returns>
        </member>
        <member name="P:FileDialogs.FileDialog.Places">
            <summary>
            Gets the places collection for this FileDialog instance.
            </summary>
        </member>
        <member name="P:FileDialogs.FileDialog.Title">
            <summary>
            Gets or sets the file dialog box title.
            </summary>
        </member>
        <member name="T:FileDialogs.FileDialog.FileType">
            <summary>
            Represents a file type
            </summary>
        </member>
        <member name="P:FileDialogs.FileDialog.FileType.Name">
            <summary>
            Gets the friendly name of the filter.
            </summary>
        </member>
        <member name="P:FileDialogs.FileDialog.FileType.Extensions">
            <summary>
            Gets the extensions of the file type.
            </summary>
        </member>
        <member name="P:FileDialogs.FileDialog.FileType.FilterPattern">
            <summary>
            Gets the filter pattern.
            </summary>
        </member>
        <member name="P:FileDialogs.FileDialog.FileType.IncludeAllFiles">
            <summary>
            Gets a boolean value indicating weather to include all files.
            </summary>
        </member>
        <member name="M:FileDialogs.SaveFileDialog.#ctor">
            <summary>
            Initializes an instance of the <see cref="T:FileDialogs.SaveFileDialog"/> class.
            </summary>
        </member>
        <member name="T:FileDialogs.ToolStripFileDialogRenderer">
            <summary>
            Renderer for the tool strip.
            </summary>
        </member>
        <member name="T:FileDialogs.PlacesBarRenderer">
            <summary>
            Renderer for the places bar.
            </summary>
        </member>
        <member name="M:FileDialogs.PathUtils.CheckInvalidPathChars(System.String)">
            <summary>
            Checks the specified path for invalid characters.
            </summary>
            <param name="path">The path to check.</param>
            <returns>true if the path contains invalid characters; otherwise false.</returns>
        </member>
        <member name="T:FileDialogs.ACListISF">
            <summary>
            Custom implementation of the ACListISF.
            Adds a / to each folder.
            </summary>
        </member>
        <member name="F:FileDialogs.NewFolderDialog.components">
            <summary>
            Required designer variable.
            </summary>
        </member>
        <member name="M:FileDialogs.NewFolderDialog.Dispose(System.Boolean)">
            <summary>
            Clean up any resources being used.
            </summary>
            <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        </member>
        <member name="M:FileDialogs.NewFolderDialog.InitializeComponent">
            <summary>
            Required method for Designer support - do not modify
            the contents of this method with the code editor.
            </summary>
        </member>
        <member name="P:FileDialogs.NewFolderDialog.FolderCreated">
            <summary>
            Gets or sets a value indicating weather a folder has been created.
            </summary>
        </member>
        <member name="P:FileDialogs.NewFolderDialog.FolderPath">
            <summary>
            Gets or sets the path of a newly created folder.
            </summary>
        </member>
        <member name="M:FileDialogs.Design.FileDialogPlacesEditor.FileDialogPlacesEditorForm.InitializeComponent">
            <summary>
            Required method for Designer support - do not modify
            the contents of this method with the code editor.
            </summary>
        </member>
        <member name="T:FileDialogs.SplitButton">
            <summary>
            Represents a combination of a standard button on the left and a drop-down
            button on the right, or the other way around if the value of RightToLeft is Yes.
            </summary>
        </member>
        <member name="P:FileDialogs.SplitButton.ShowSplit">
            <summary>
            Gets or sets a value indicating weather the drop-down should be visible.
            </summary>
        </member>
        <member name="P:FileDialogs.SplitButton.ClickedItemIndex">
            <summary>
            Gets the index of the clicked menu item or -1 if the button was clicked.
            </summary>
        </member>
        <member name="T:FileDialogs.FileDialogPlaceBase">
            <summary>
            Represents a place in a FileDialog place bar.
            </summary>
        </member>
        <member name="P:FileDialogs.FileDialogPlaceBase.Text">
            <summary>
            Gets or sets the text of the place.
            </summary>
        </member>
        <member name="T:FileDialogs.FileDialogPlace">
            <summary>
            Represents a system folder in a FileDialog place bar.
            </summary>
        </member>
        <member name="M:FileDialogs.FileDialogPlace.#ctor">
            <summary>
            Initializes a new instance of the FileDialogPlace class.
            </summary>
        </member>
        <member name="M:FileDialogs.FileDialogPlace.#ctor(FileDialogs.SpecialFolder)">
            <summary>
            Initializes a new instance of the FileDialogPlace class identified by the specified system special folder.
            </summary>
            <param name="specialFolder">The system special folder identifying the place.</param>
        </member>
        <member name="P:FileDialogs.FileDialogPlace.SpecialFolder">
            <summary>
            Gets or sets the system special folder identifying the place.
            </summary>
        </member>
        <member name="T:FileDialogs.CustomFileDialogPlace">
            <summary>
            Represents a specified folder in a FileDialog place bar.
            </summary>
        </member>
        <member name="M:FileDialogs.CustomFileDialogPlace.#ctor">
            <summary>
            Initializes a new instance of the CustomFileDialogPlace class.
            </summary>
        </member>
        <member name="M:FileDialogs.CustomFileDialogPlace.#ctor(System.String)">
            <summary>
            Initializes a new instance of the CustomFileDialogPlace class with the specified folder path.
            </summary>
            <param name="path">The folder path to the place.</param>
        </member>
        <member name="P:FileDialogs.CustomFileDialogPlace.Path">
            <summary>
            Gets or sets the folder path to the place.
            </summary>
        </member>
        <member name="T:FileDialogs.FileDialogPlacesCollection">
            <summary>
            Represents a collection of places for the FileDialog class.
            </summary>
        </member>
        <member name="M:FileDialogs.FileDialogPlacesCollection.Add(FileDialogs.SpecialFolder)">
            <summary>
            Adds a place to to the FileDialogPlacesCollection collection.
            </summary>
            <param name="specialFolder">The system special folder identifying the place.</param>
        </member>
        <member name="M:FileDialogs.FileDialogPlacesCollection.Add(System.String)">
            <summary>
            Adds a place to to the FileDialogPlacesCollection collection.
            </summary>
            <param name="path">The folder path to the place.</param>
        </member>
        <member name="F:FileDialogs.Design.FileDialogFilterEditorForm.components">
            <summary>
            Required designer variable.
            </summary>
        </member>
        <member name="M:FileDialogs.Design.FileDialogFilterEditorForm.Dispose(System.Boolean)">
            <summary>
            Clean up any resources being used.
            </summary>
            <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        </member>
        <member name="M:FileDialogs.Design.FileDialogFilterEditorForm.InitializeComponent">
            <summary>
            Required method for Designer support - do not modify
            the contents of this method with the code editor.
            </summary>
        </member>
        <member name="T:FileDialogs.Properties.Resources">
            <summary>
              A strongly-typed resource class, for looking up localized strings, etc.
            </summary>
        </member>
        <member name="P:FileDialogs.Properties.Resources.ResourceManager">
            <summary>
              Returns the cached ResourceManager instance used by this class.
            </summary>
        </member>
        <member name="P:FileDialogs.Properties.Resources.Culture">
            <summary>
              Overrides the current thread's CurrentUICulture property for all
              resource lookups using this strongly typed resource class.
            </summary>
        </member>
        <member name="T:FileDialogs.LookInComboBox">
            <summary>
            A custom combo box that can display icons for each item.
            </summary>
        </member>
        <member name="M:FileDialogs.LookInComboBox.OnSelectedIndexChanged(System.EventArgs)">
            <summary>
            This method will change the currentItem field once a new item is selected
            </summary>
        </member>
        <member name="M:FileDialogs.LookInComboBox.ComboBox_DrawItem(System.Object,System.Windows.Forms.DrawItemEventArgs)">
            <summary>
            This method will draw the items of the DropDownList. It will draw the icon, the text and
            with the indent that goes with the item
            </summary>
        </member>
        <member name="M:FileDialogs.LookInComboBox.ComboBox_DropDown(System.Object,System.EventArgs)">
            <summary>
            This method will make sure that when the ComboBox is dropped down, the width of the DropDownList
            will be sufficient to fit all items
            </summary>
        </member>
        <member name="T:FileDialogs.Design.PathEditor">
            <summary>
            The PathEditor is used as a replacement for the FolderNameEditor.
            In this implementation no special folders can be selected.
            </summary>
        </member>
        <member name="T:FileDialogs.SpecialFolder">
            <summary>
            Specifies enumerated constants used to retrieve directory paths to system special folders.
            </summary>
        </member>
        <member name="F:FileDialogs.SpecialFolder.Desktop">
            <summary>
            The logical Desktop rather than the physical file system location.
            </summary>
        </member>
        <member name="F:FileDialogs.SpecialFolder.InternetExplorer">
            <summary>
            The folder for Internet Explorer. 
            </summary>
        </member>
        <member name="F:FileDialogs.SpecialFolder.Programs">
            <summary>
            The directory that contains the user's program groups.
            </summary>
        </member>
        <member name="F:FileDialogs.SpecialFolder.ControlPanel">
            <summary>
            The folder that contains icons for the Control Panel applications.
            </summary>
        </member>
        <member name="F:FileDialogs.SpecialFolder.Printers">
            <summary>
            The folder that contains installed printers.
            </summary>
        </member>
        <member name="F:FileDialogs.SpecialFolder.MyDocuments">
            <summary>
            The "My Documents" folder.
            </summary>
        </member>
        <member name="F:FileDialogs.SpecialFolder.Favorites">
            <summary>
            The directory that serves as a common repository for the user's favorite items.
            </summary>
        </member>
        <member name="F:FileDialogs.SpecialFolder.Startup">
            <summary>
            The directory that corresponds to the user's Startup program group.
            </summary>
        </member>
        <member name="F:FileDialogs.SpecialFolder.Recent">
            <summary>
            The directory that contains the user's most recently used documents.
            </summary>
        </member>
        <member name="F:FileDialogs.SpecialFolder.SendTo">
            <summary>
            The directory that contains the Send To menu items.
            </summary>
        </member>
        <member name="F:FileDialogs.SpecialFolder.RecycleBin">
            <summary>
            The "Recycle Bin" folder.
            </summary>
        </member>
        <member name="F:FileDialogs.SpecialFolder.StartMenu">
            <summary>
            The directory that contains the Start menu items.
            </summary>
        </member>
        <member name="F:FileDialogs.SpecialFolder.MyMusic">
            <summary>
            The "My Music" folder.
            </summary>
        </member>
        <member name="F:FileDialogs.SpecialFolder.MyVideo">
            <summary>
            The "My Video" folder.
            </summary>
        </member>
        <member name="F:FileDialogs.SpecialFolder.DesktopDirectory">
            <summary>
            The directory used to physically store file objects on the desktop.
            </summary>
        </member>
        <member name="F:FileDialogs.SpecialFolder.MyComputer">
            <summary>
            The "My Computer" folder.
            </summary>
        </member>
        <member name="F:FileDialogs.SpecialFolder.Network">
            <summary>
            The "My Network Places" folder.
            </summary>
        </member>
        <member name="F:FileDialogs.SpecialFolder.Fonts">
            <summary>
            The "Fonts" folder.
            </summary>
        </member>
        <member name="F:FileDialogs.SpecialFolder.Templates">
            <summary>
            The directory that serves as a common repository for document templates.
            </summary>
        </member>
        <member name="F:FileDialogs.SpecialFolder.ApplicationData">
            <summary>
            The directory that serves as a common repository for application-specific data for the current roaming user.
            </summary>
        </member>
        <member name="F:FileDialogs.SpecialFolder.LocalApplicationData">
            <summary>
            The directory that serves as a common repository for application-specific data that is used by the current, non-roaming user.
            </summary>
        </member>
        <member name="F:FileDialogs.SpecialFolder.InternetCache">
            <summary>
            The directory that serves as a common repository for temporary Internet files.
            </summary>
        </member>
        <member name="F:FileDialogs.SpecialFolder.Cookies">
            <summary>
            The directory that serves as a common repository for Internet cookies.
            </summary>
        </member>
        <member name="F:FileDialogs.SpecialFolder.History">
            <summary>
            The directory that serves as a common repository for Internet history items.
            </summary>
        </member>
        <member name="F:FileDialogs.SpecialFolder.CommonApplicationData">
            <summary>
            The directory that serves as a common repository for application-specific data that is used by all users.
            </summary>
        </member>
        <member name="F:FileDialogs.SpecialFolder.Windows">
            <summary>
            The Windows directory.
            </summary>
        </member>
        <member name="F:FileDialogs.SpecialFolder.System">
            <summary>
            The System directory.
            </summary>
        </member>
        <member name="F:FileDialogs.SpecialFolder.ProgramFiles">
            <summary>
            The program files directory.
            </summary>
        </member>
        <member name="F:FileDialogs.SpecialFolder.MyPictures">
            <summary>
            The "My Pictures" folder.
            </summary>
        </member>
        <member name="F:FileDialogs.SpecialFolder.CommonProgramFiles">
            <summary>
            The directory for components that are shared across applications.
            </summary>
        </member>
        <member name="T:FileDialogs.OpenFileDialog">
            <summary>
            Prompts the user to open a file. This class cannot be inherited.
            </summary>
        </member>
        <member name="M:FileDialogs.OpenFileDialog.#ctor">
            <summary>
            Initializes an instance of the <see cref="T:FileDialogs.OpenFileDialog"/> class.
            </summary>
        </member>
        <member name="P:FileDialogs.OpenFileDialog.Multiselect">
            <summary>
            Gets or sets a value indicating whether the dialog box allows multiple files to be selected.
            </summary>
            <value>true if the dialog box allows multiple files to be selected together or concurrently; otherwise, false. The default value is false.</value>
        </member>
        <member name="T:FileDialogs.SelectFolderDialog">
            <summary>
            Prompts the user to select a folder. This class cannot be inherited.
            </summary>
        </member>
        <member name="M:FileDialogs.SelectFolderDialog.#ctor">
            <summary>
            Initializes an instance of the <see cref="T:FileDialogs.SelectFolderDialog"/> class.
            </summary>
        </member>
        <member name="P:FileDialogs.SelectFolderDialog.SelectedPath">
            <summary>
            Gets or sets the path selected by the user.
            </summary>
            <returns>The path of the folder first selected in the dialog box or the last folder selected by the user. The default is an empty string ("").</returns>
        </member>
        <member name="P:FileDialogs.SelectFolderDialog.CheckPathExists">
            <summary>
            Gets or sets a value indicating whether the dialog box displays a warning if the user specifies a path that does not exist.
            </summary>
            <value>true if the dialog box displays a warning when the user specifies a path that does not exist; otherwise, false. The default value is true.</value>
        </member>
        <member name="T:FileDialogs.FileDialogViewMode">
            <summary>
            Specifies the folder view type.
            </summary>
        </member>
        <member name="F:FileDialogs.FileDialogViewMode.Icon">
            <summary>
            The view should display medium-size icons.
            </summary>
        </member>
        <member name="F:FileDialogs.FileDialogViewMode.SmallIcon">
            <summary>
            The view should display small icons.
            </summary>
        </member>
        <member name="F:FileDialogs.FileDialogViewMode.List">
            <summary>
            Object names are displayed in a list view.
            </summary>
        </member>
        <member name="F:FileDialogs.FileDialogViewMode.Details">
            <summary>
            Object names and other selected information, such as the size or date last updated, are shown.
            </summary>
        </member>
        <member name="F:FileDialogs.FileDialogViewMode.Thumbnail">
            <summary>
            The view should display thumbnail icons.
            </summary>
        </member>
        <member name="F:FileDialogs.FileDialogViewMode.Tile">
            <summary>
            The view should display large icons.
            </summary>
        </member>
    </members>
</doc>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Web Developer IDesignIT Kungsbacka
Sweden Sweden
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions