Represents an enhanced OpenFileDialog which supports devices without touch-screens.
| C# | Visual Basic |
public class OpenFileDialog : Component, IDisposable
Public Class OpenFileDialog _ Inherits Component _ Implements IDisposable
| All Members | Constructors | Methods | Properties | Events | |
| Icon | Member | Description |
|---|---|---|
| OpenFileDialog()()() |
Initializes a new instance of OpenFileDialog.
| |
| Dispose(Boolean) | ||
| Dispose()()() | Releases all resources used by the Component. (Inherited from Component.) | |
| Disposed | Adds an event handler to listen to the Disposed event on the component. (Inherited from Component.) | |
| Equals(Object) | (Inherited from Object.) | |
| Events | Gets the list of event handlers that are attached to this Component. (Inherited from Component.) | |
| FileName |
Gets or sets a string containing the file name selected in the file dialog box.
| |
| Filter |
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.
| |
| FilterIndex |
Gets or sets the index of the filter currently selected in the file dialog box.
| |
| Finalize()()() | Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (Inherited from Component.) | |
| GetHashCode()()() | Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
| GetType()()() | Gets the Type of the current instance. (Inherited from Object.) | |
| InitialDirectory |
Gets or sets the initial directory displayed by the file dialog box.
| |
| MemberwiseClone()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Owner |
Gets or sets the owner control.
| |
| ShowDialog()()() |
Runs a common dialog box with a default owner.
| |
| Site | (Inherited from Component.) | |
| Title |
Gets or sets the file dialog box title.
| |
| ToString()()() | (Inherited from Object.) |
Uses new built-in support in Windows Mobile 5.0 and later.
On devices prior to Windows Mobile 5.0 the regular OpenFileDialog is used.
| Object | |||
| MarshalByRefObject | |||
| Component | |||
| OpenFileDialog | |||