Export (0) Print
Expand All

FontDialog Members

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

The following tables list the members exposed by the FontDialog type.

  Name Description
Public method FontDialog Initializes a new instance of the FontDialog class.
Top

  Name Description
Protected field Static EventApply Owns the Apply event.
Top

(see also Protected Properties )
  Name Description
Public property AllowScriptChange Gets or sets a value indicating whether the user can change the character set specified in the Script combo box to display a character set other than the one currently displayed.
Public property AllowSimulations Gets or sets a value indicating whether the dialog box allows graphics device interface (GDI) font simulations.
Public property AllowVectorFonts Gets or sets a value indicating whether the dialog box allows vector font selections.
Public property AllowVerticalFonts Gets or sets a value indicating whether the dialog box displays both vertical and horizontal fonts or only horizontal fonts.
Public property Color Gets or sets the selected font color.
Public property Container  Gets the IContainer that contains the Component.(inherited from Component)
Public property FixedPitchOnly Gets or sets a value indicating whether the dialog box allows only the selection of fixed-pitch fonts.
Public property Font Gets or sets the selected font.
Public property FontMustExist Gets or sets a value indicating whether the dialog box specifies an error condition if the user attempts to select a font or style that does not exist.
Public property MaxSize Gets or sets the maximum point size a user can select.
Public property MinSize Gets or sets the minimum point size a user can select.
Public property ScriptsOnly Gets or sets a value indicating whether the dialog box allows selection of fonts for all non-OEM and Symbol character sets, as well as the ANSI character set.
Public property ShowApply Gets or sets a value indicating whether the dialog box contains an Apply button.
Public property ShowColor Gets or sets a value indicating whether the dialog box displays the color choice.
Public property ShowEffects Gets or sets a value indicating whether the dialog box contains controls that allow the user to specify strikethrough, underline, and text color options.
Public property ShowHelp Gets or sets a value indicating whether the dialog box displays a Help button.
Public property Site  Gets or sets the ISite of the Component.(inherited from Component)
Public property Tag  Gets or sets an object that contains data about the control. (inherited from CommonDialog)
Top

  Name Description
Protected property CanRaiseEvents  Gets a value indicating whether the component can raise an event.(inherited from Component)
Protected property DesignMode  Gets a value that indicates whether the Component is currently in design mode.(inherited from Component)
Protected property Events  Gets the list of event handlers that are attached to this Component.(inherited from Component)
Protected property Options Gets values to initialize the FontDialog.
Top

(see also Protected Methods )
  Name Description
Public method 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)
Public method Dispose  Overloaded. Releases the resources used by the Component. (inherited from Component)
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetLifetimeService  Retrieves the current lifetime service object that controls the lifetime policy for this instance. (inherited from MarshalByRefObject)
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method InitializeLifetimeService  Obtains a lifetime service object to control the lifetime policy for this instance. (inherited from MarshalByRefObject)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Reset Overridden. Resets all dialog box options to their default values.
Public method ShowDialog  Overloaded. Runs a common dialog box. (inherited from CommonDialog)
Public method ToString Overridden. Retrieves a string that includes the name of the current font selected in the dialog box.
Top

  Name Description
Protected method Dispose  Overloaded. Releases the resources used by the Component. (inherited from Component)
Protected method Finalize  Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (inherited from Component)
Protected method GetService  Returns an object that represents a service provided by the Component or by its Container. (inherited from Component)
Protected method HookProc Overridden. Specifies the common dialog box hook procedure that is overridden to add specific functionality to a common dialog box.
Protected method MemberwiseClone  Overloaded. (inherited from MarshalByRefObject)
Protected method OnApply Raises the Apply event.
Protected method OnHelpRequest  Raises the HelpRequest event. (inherited from CommonDialog)
Protected method OwnerWndProc  Defines the owner window procedure that is overridden to add specific functionality to a common dialog box. (inherited from CommonDialog)
Protected method RunDialog Overridden. Specifies a file dialog box.
Top

  Name Description
Public event Apply Occurs when the user clicks the Apply button in the font dialog box.
Public event Disposed  Occurs when the component is disposed by a call to the Dispose method. (inherited from Component)
Public event HelpRequest  Occurs when the user clicks the Help button on a common dialog box.(inherited from CommonDialog)
Top

Community Additions

ADD
Show:
© 2014 Microsoft