DevOpenFileOrFolderDialog Class

Displays a dialog box that prompts the user to open a (single) file or folder.

Definition

Namespace: DevCase.UI.Dialogs
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[ToolboxBitmapAttribute(typeof(OpenFileDialog))]
[DefaultEventAttribute("ItemOk")]
[DefaultPropertyAttribute("ItemName")]
public class DevOpenFileOrFolderDialog : CommonDialog
Inheritance
Object    MarshalByRefObject    Component    CommonDialog    DevOpenFileOrFolderDialog

Remarks

Constructors

DevOpenFileOrFolderDialog Initializes a new instance of the DevOpenFileOrFolderDialog class.

Properties

AutoUpgradeEnabled Gets or sets a value indicating whether this dialog box should automatically upgrade appearance and behavior when running on Windows Vista.
Container Gets the IContainer that contains the Component.
(Inherited from Component)
CustomPlaces Gets the custom places collection for this DevOpenFileOrFolderDialog instance.
DereferenceLinks Gets or sets a value indicating whether the dialog box returns the location of the file referenced by the shortcut or whether it returns the location of the shortcut (.lnk).
InitialDirectory Gets or sets the initial directory displayed by the dialog box.
ItemName Gets or sets a string containing the name of the item selected in the dialog box.
RestoreDirectory Gets or sets a value indicating whether the dialog box restores the directory to the previously selected directory before closing.
ShowHelp Gets or sets a value indicating whether the Help button is displayed in the dialog box.
Site Gets or sets the ISite of the Component.
(Inherited from Component)
Tag Gets or sets an object that contains data about the control.
(Inherited from CommonDialog)
Title Gets or sets the dialog box title.

Methods

CreateObjRef Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject)
Dispose Releases all resources used by the Component.
(Inherited from Component)
Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCode Serves as the default hash function.
(Inherited from Object)
GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject)
GetType Gets the Type of the current instance.
(Inherited from Object)
InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject)
Reset Resets the properties of a common dialog box to their default values.
(Overrides CommonDialogReset)
ShowDialog Runs a common dialog box with a default owner.
ShowDialog(IWin32Window) Runs a common dialog box with a default owner.
ToString Returns a string version of this object.
(Overrides ComponentToString)

Events

Disposed Occurs when the component is disposed by a call to the Dispose method.
(Inherited from Component)
HelpRequest Occurs when the user clicks the Help button on a common dialog box.
(Inherited from CommonDialog)
ItemOk Occurs when the user clicks on the Open button on the dialog box to select a file or folder.

Extension Methods

CanConvertTo Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions)
CanConvertToT Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions)
ConvertToT Converts an object to the specified target type.

If the conversion fails, an exception is thrown.
(Defined by ObjectExtensions)

ConvertToT Converts an object to the specified target type.

If the conversion fails, returns the specified default value.
(Defined by ObjectExtensions)

GetEvent Gets a EventInfo that match the specified event name declared in the source Component.
(Defined by ComponentExtensions)
GetEventHandlers Gets all the delegates associated to the specified event raised by the source Component.
(Defined by ComponentExtensions)
GetEvents Gets all the events declared in the source Component.
(Defined by ComponentExtensions)
GetSubscribedEvents Gets a list of events declared in the source Component that are subscribed to a event-handler.
(Defined by ComponentExtensions)
InvokeUITypeEditorT Invokes the default UITypeEditor to edit the specified property.
(Defined by ComponentExtensions)
InvokeUITypeEditorT Invokes the default UITypeEditor to edit the specified property.
(Defined by ComponentExtensions)
IsDisposable Determines whether the specified object is a disposable type (i.e., it implements IDisposable interface).
(Defined by ObjectExtensions)
Speak Speaks the string representation of the source object by using the operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions)
Speak Speaks the string representation of the source object by using the operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions)
ThrowIfNullTException Throws the specified exception if the source object is null.
(Defined by ObjectExtensions)
TryGetEvent Tries to get a EventInfo that match the specified event name declared in the source Component.
(Defined by ComponentExtensions)

See Also

Reference

CommonDialog