CommonDialog Class

 

An abstract base class for displaying common Win32 dialogs.

Namespace:   Microsoft.Win32
Assembly:  PresentationFramework (in PresentationFramework.dll)

System.Object
  Microsoft.Win32.CommonDialog
    Microsoft.Win32.FileDialog

[UIPermissionAttribute(SecurityAction.InheritanceDemand, Window = UIPermissionWindow.AllWindows)]
public abstract class CommonDialog

NameDescription
System_CAPS_protmethodCommonDialog()

Provides initialization for base class values when called by the constructor of a derived class.

NameDescription
System_CAPS_pubpropertyTag

Gets or sets an object associated with the dialog. This provides the ability to attach an arbitrary object to the dialog.

NameDescription
System_CAPS_protmethodCheckPermissionsToShowDialog()

Determines whether sufficient permissions for displaying a dialog exist.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodHookProc(IntPtr, Int32, IntPtr, IntPtr)

Defines the common dialog box hook procedure that is overridden to add specific functionality to a common dialog box.

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodReset()

When overridden in a derived class, resets the properties of a common dialog to their default values.

System_CAPS_protmethodRunDialog(IntPtr)

When overridden in a derived class, is called to display a particular type of Win32 common dialog.

System_CAPS_pubmethodShowDialog()

Displays a common dialog.

System_CAPS_pubmethodShowDialog(Window)

Displays a common dialog.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

.NET Framework
Available since 3.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: