Click or drag to resize

OpenFileDialog Class

Similar to the System.Windows.Forms.OpenFileDialog, but with customized Rhino user interface.
Inheritance Hierarchy

Namespace:  Rhino.UI
Assembly:  RhinoCommon (in RhinoCommon.dll)
public class OpenFileDialog

The OpenFileDialog type exposes the following members.

Public methodCode exampleOpenFileDialog
Create a new open file dialog.
Public propertyDefaultExt
The default file name extension. The returned string does not include the period.
Public propertyCode exampleFileName
Gets or sets a string containing the file name selected in the file dialog box.
Public propertyFileNames
Gets the names of all of the selected files in the dialog box
Public propertyCode exampleFilter
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. See System.Windows.Forms.FileDialog for details.
Public propertyInitialDirectory
Gets or sets the initial directory displayed by the file dialog box.
Public propertyMultiSelect
Gets or sets a value indicating whether the dialog box allows multiple files to be selected
Public propertyTitle
Gets or sets the file dialog box title.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodShowDialog Obsolete.
Public methodCode exampleShowOpenDialog
Show the actual dialog to allow the user to select a file.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also