[This is preliminary documentation and is subject to change.]

The EncodingDialog type exposes the following members.

Constructors

  NameDescription
Public methodEncodingDialog
CTor

Methods

  NameDescription
Public methodCreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Public methodDispose()()()()
Releases all resources used by the Component.
(Inherited from Component.)
Protected methodDispose(Boolean)
Releases the unmanaged resources used by the Component and optionally releases the managed resources.
(Inherited from Component.)
Protected methodFinalize
Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
(Inherited from Component.)
Public methodGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Protected methodGetService
Returns an object that represents a service provided by the Component or by its Container.
(Inherited from Component.)
Protected methodHookProc
Defines the common dialog box hook procedure that is overridden to add specific functionality to a common dialog box.
(Inherited from CommonDialog.)
Public methodInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Protected methodMemberwiseClone
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
Protected methodOnHelpRequest
Raises the HelpRequest event.
(Inherited from CommonDialog.)
Protected methodOnOKClicked
Raises the OKClicked event
Protected methodOwnerWndProc
Defines the owner window procedure that is overridden to add specific functionality to a common dialog box.
(Inherited from CommonDialog.)
Public methodReset
Resets the properties of a common dialog box to their default values
(Overrides CommonDialog..::..Reset()()()().)
Protected methodRunDialog
When overridden in a derived class, specifies a common dialog box.
(Overrides CommonDialog..::..RunDialog(IntPtr).)
Public methodShowDialog()()()()
Runs a common dialog box with a default owner.
(Inherited from CommonDialog.)
Public methodShowDialog(IWin32Window)
Runs a common dialog box with the specified owner.
(Inherited from CommonDialog.)
Public methodShowDialog(Form)
Public methodToString
Returns a String containing the name of the Component, if any. This method should not be overridden.
(Inherited from Component.)

Extension Methods

  NameDescription
Public Extension MethodShowDialog(Window)Overloaded.
Runs a common dialog box with the specified owner (Window).
(Defined by InteropExtensions.)
Public Extension MethodShowDialog(IWin32Window)Overloaded.
Runs a common dialog box with the specified owner (IWin32Window).
(Defined by InteropExtensions.)

Properties

  NameDescription
Protected propertyCanRaiseEvents
Gets a value indicating whether the component can raise an event.
(Inherited from Component.)
Public propertyContainer
Gets the IContainer that contains the Component.
(Inherited from Component.)
Protected propertyDesignMode
Gets a value that indicates whether the Component is currently in design mode.
(Inherited from Component.)
Protected propertyDialogForm
Protected propertyEvents
Gets the list of event handlers that are attached to this Component.
(Inherited from Component.)
Public propertyPreselected
Specifies the CodePage that will be selected when the dialog is shown (when encoding available)
Public propertyPreviewBytes
Gets or sets text to decode by selected encoding and show preview to the user
Public propertyPreviewString
Gets or sets text to encode by selected encoding and inform user if all characters can be encoded using selected encoding
Public propertyRequireCorrect
Defines if user can select encoding that cannot be used on specified PreviewBytes or PreviewString without problems
Public propertySelectedEncoding
After dialog has ran returns the ancoding selected by user (if any)
Public propertyShowHelp
Determines if help button will be shown
Public propertySite
Gets or sets the ISite of the Component.
(Inherited from Component.)
Public propertyTag
Gets or sets an object that contains data about the control.
(Inherited from CommonDialog.)
Public propertyText
Gets or sets text displayed in title of window of dialog

Events

  NameDescription
Public eventDisposed
Occurs when the component is disposed by a call to the Dispose()()()() method.
(Inherited from Component.)
Public eventHelpRequest
Occurs when the user clicks the Help button on a common dialog box.
(Inherited from CommonDialog.)
Public eventOKClicked
Raised after user clicks OK and dialog allows him co select encoding

See Also