System.Windows.Forms
1.0.5000.0
2.0.0.0
System.ComponentModel.Component
System.ComponentModel.ToolboxItemFilter("System.Windows.Forms")
Inherited classes are required to implement by invoking to create a specific common dialog box. Inherited classes can optionally override to implement specific dialog box hook functionality.
Specifies the base class used for displaying dialog boxes on the screen.
Constructor
To be added.
Initializes a new instance of the class.
1.0.5000.0
2.0.0.0
Event
System.EventHandler
For information about handling events, see [<topic://cpconEventsOverview>].
Occurs when the user clicks the Help button on a common dialog box.
1.0.5000.0
2.0.0.0
Method
System.IntPtr
A hook procedure is a mechanism by which a function can intercept events before they reach an application. When you override the method for a class, the operating system invokes your override of the function to post operating system messages to the window.
By default, the hook procedure centers the dialog box on the screen in response to a WM_INITDIALOG message.
This method uses to prevent it from being called from untrusted code; only the immediate caller is required to have permission. If your code can be called from partially trusted code, do not pass user input to class methods without validation. For important limitations on using the LinkDemand member, see [<topic://cpcondemandvslinkdemand>].
This property also uses the security attribute; to override this member, the derived class must have the CustomPermission permission.
Defines the common dialog box hook procedure that is overridden to add specific functionality to a common dialog box.
A zero value if the default dialog box procedure processes the message; a nonzero value if the default dialog box procedure ignores the message.
The handle to the dialog box window.
The message being received.
Additional information about the message.
Additional information about the message.
1.0.5000.0
2.0.0.0
Method
System.Void
This method is invoked when the Help button is clicked. Inheriting classes can override this method to handle the event.
Raises the event.
An that provides the event data.
1.0.5000.0
2.0.0.0
Method
System.IntPtr
Control is transferred here when messages are sent to the owner window of the common dialog box. Inheriting classes can override this method to add specific functionality to a common dialog box.
Defines the owner window procedure that is overridden to add specific functionality to a common dialog box.
The result of the message processing, which is dependent on the message sent.
The window handle of the message to send.
The Win32 message to send.
The to send with the message.
The to send with the message.
1.0.5000.0
2.0.0.0
Method
System.Void
To be added.
When overridden in a derived class, resets the properties of a common dialog box to their default values.
1.0.5000.0
2.0.0.0
Method
System.Boolean
This method is invoked when the user of a common dialog box calls , and it must be overridden by inherited classes of to implement a specific common dialog box.
When overridden in a derived class, specifies a common dialog box.
true if the dialog box was successfully run; otherwise, false.
A value that represents the window handle of the owner window for the common dialog box.
1.0.5000.0
2.0.0.0
Method
System.Windows.Forms.DialogResult
This method implements .
Runs a common dialog box with a default owner.
if the user clicks OK in the dialog box; otherwise, .
1.0.5000.0
2.0.0.0
Method
System.Windows.Forms.DialogResult
This version of the method allows you to specify a specific form or control that will own the dialog box that is shown. If you use the version of this method that has no parameters, the dialog box being shown would be owned automatically by the currently active window of your application.
Runs a common dialog box with the specified owner.
if the user clicks OK in the dialog box; otherwise, .
Any object that implements that represents the top-level window that will own the modal dialog box.
1.0.5000.0
2.0.0.0
Property
2.0.0.0
System.ComponentModel.DefaultValue(null)
System.ComponentModel.TypeConverter(typeof(System.ComponentModel.StringConverter))
System.ComponentModel.Bindable(true)
System.ComponentModel.Localizable(false)
System.Object
To be added.
Use this property to store arbitrary information about the control.
Gets or sets an object that contains data about the control.