Click or drag to resize

FontDialog Class

Dialog for a user to pick a font and style
Inheritance Hierarchy

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public class FontDialog : CommonDialog

The FontDialog type exposes the following members.

Constructors
  NameDescription
Public methodFontDialog
Initializes a new instance of the FontDialog class
Top
Properties
  NameDescription
Public propertyFont
Gets or sets the currently selected font.
Top
Methods
  NameDescription
Protected methodGetCallback
Gets an instance of an object used to perform callbacks to the widget from handler implementations
(Overrides WidgetGetCallback.)
Protected methodOnFontChanged
Raises the FontChanged event.
Top
Events
  NameDescription
Public eventFontChanged
Occurs when the Font is changed.
Top
Fields
  NameDescription
Public fieldStatic memberFontChangedEvent
Identifier for handlers when attaching the FontChanged event.
Top
Remarks
The font dialog on some platforms may run asynchronously, and return immediately after the ShowDialog(Control) call. For example, on OS X the font dialog is a non-modal shared tool window that stays on the screen until the user dismisses it. You should always handle the FontChanged event to determine when the value has changed.
See Also