FontDialog
The FontDialog control provides a dialog that prompts the user to select a font from those installed on the local computer.
The inherited member ShowDialog must be invoked in order to display the Font Dialog. The Font data property is used to determine the font selected by the user.
Properties
The key properties for the FontDialog component include:
-
AllowVerticalFonts. Specifies whether both vertical and horizontal fonts or only horizontal fonts are displayed in the dialog box.
-
MaxSize/MinSize. Specifies the maximum and minimum point size that a user can select.
-
ShowEffects. Specifies whether the dialog box contains controls that can be used to apply strikethrough, underline, and text colour options.
Events
Events can be configured for the FontDialog to specify the behaviour of the control. For example, an action can be configured to occur when a user clicks the Help button using the HelpRequest event property.
For information on configuring events and other components of the design using a script, see: Working with Scripts.
Adding a FontDialog
When you drag a FontDialog component from the Toolbox to a form in Flow Designer, it will appear as an entry in the design space. You can select the control and configure it using the Properties pane.
More information on the FontDialog component can be viewed at the link to Microsoft® Documentation.