System.Windows.Forms.FontDialog Class

Prompts the user to choose a font from among those installed on the local computer.

See Also: FontDialog Members

Syntax

[System.ComponentModel.DefaultEvent("Apply")]
[System.ComponentModel.DefaultProperty("Font")]
public class FontDialog : CommonDialog

Remarks

The inherited member CommonDialog.ShowDialog must be invoked to create this specific common dialog box. CommonDialog.HookProc(IntPtr, int, IntPtr, IntPtr) can be overridden to implement specific dialog box hook functionality.

When you create an instance of System.Windows.Forms.FontDialog, some of the read/write properties are set to initial values. For a list of these values, see the FontDialog.#ctor constructor.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0