In The Hand - .NET Components for Mobility
OpenFileDialog Class
NamespacesInTheHand.WindowsMobile.FormsOpenFileDialog
Represents an enhanced OpenFileDialog which supports devices without touch-screens.
Declaration Syntax
C#Visual Basic
public class OpenFileDialog : Component, IDisposable
Public Class OpenFileDialog _
	Inherits Component _
	Implements IDisposable
Members
All MembersConstructorsMethodsPropertiesEvents



IconMemberDescription
OpenFileDialog()()()
Initializes a new instance of OpenFileDialog.

Dispose(Boolean)
(Overrides Component.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)
Determines whether the specified Object is equal to the current 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
Gets or sets the ISite of the Component.
(Inherited from Component.)
Title
Gets or sets the file dialog box title.

ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Remarks
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.
Inheritance Hierarchy
See Also

Assembly: InTheHand.WindowsMobile (Module: InTheHand.WindowsMobile) Version: 3.2.0.0