[This is preliminary documentation and is subject to change.]
The EncodingDialog type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| EncodingDialog | CTor |
Methods
| Name | Description | |
|---|---|---|
| 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.) | |
| Dispose(Boolean) | Releases the unmanaged resources used by the Component and optionally releases the managed resources. (Inherited from Component.) | |
| Finalize | Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (Inherited from Component.) | |
| GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
| GetService | (Inherited from Component.) | |
| HookProc | Defines the common dialog box hook procedure that is overridden to add specific functionality to a common dialog box. (Inherited from CommonDialog.) | |
| InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
| MemberwiseClone | Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.) | |
| OnHelpRequest | Raises the HelpRequest event. (Inherited from CommonDialog.) | |
| OnOKClicked | Raises the OKClicked event | |
| OwnerWndProc | Defines the owner window procedure that is overridden to add specific functionality to a common dialog box. (Inherited from CommonDialog.) | |
| Reset | Resets the properties of a common dialog box to their default values (Overrides CommonDialog..::..Reset()()()().) | |
| RunDialog | When overridden in a derived class, specifies a common dialog box. (Overrides CommonDialog..::..RunDialog(IntPtr).) | |
| ShowDialog()()()() | Runs a common dialog box with a default owner. (Inherited from CommonDialog.) | |
| ShowDialog(IWin32Window) | Runs a common dialog box with the specified owner. (Inherited from CommonDialog.) | |
| ShowDialog(Form) | ||
| ToString | Returns a String containing the name of the Component, if any. This method should not be overridden. (Inherited from Component.) |
Extension Methods
| Name | Description | |
|---|---|---|
| ShowDialog(Window) | Overloaded. Runs a common dialog box with the specified owner (Window). (Defined by InteropExtensions.) | |
| ShowDialog(IWin32Window) | Overloaded. Runs a common dialog box with the specified owner (IWin32Window). (Defined by InteropExtensions.) |
Properties
| Name | Description | |
|---|---|---|
| CanRaiseEvents | Gets a value indicating whether the component can raise an event. (Inherited from Component.) | |
| Container | Gets the IContainer that contains the Component. (Inherited from Component.) | |
| DesignMode | Gets a value that indicates whether the Component is currently in design mode. (Inherited from Component.) | |
| DialogForm | ||
| Events | Gets the list of event handlers that are attached to this Component. (Inherited from Component.) | |
| Preselected | Specifies the CodePage that will be selected when the dialog is shown (when encoding available) | |
| PreviewBytes | Gets or sets text to decode by selected encoding and show preview to the user | |
| PreviewString | Gets or sets text to encode by selected encoding and inform user if all characters can be encoded using selected encoding | |
| RequireCorrect | Defines if user can select encoding that cannot be used on specified PreviewBytes or PreviewString without problems | |
| SelectedEncoding | After dialog has ran returns the ancoding selected by user (if any) | |
| ShowHelp | Determines if help button will be shown | |
| Site | (Inherited from Component.) | |
| Tag | Gets or sets an object that contains data about the control. (Inherited from CommonDialog.) | |
| Text | Gets or sets text displayed in title of window of dialog |
Events
| Name | Description | |
|---|---|---|
| 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.) | |
| OKClicked | Raised after user clicks OK and dialog allows him co select encoding |