Skip to main content

DevExpress v24.1 Update — Your Feedback Matters

Our What's New in v24.1 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

FontEdit Class

A font editor.

Namespace: DevExpress.Xpf.Editors

Assembly: DevExpress.Xpf.Core.v24.1.dll

NuGet Package: DevExpress.Wpf.Core

#Declaration

public class FontEdit :
    ComboBoxEdit

#Remarks

The FontEdit displays available fonts in the drop-down window and allows an end user to select a font.

FontEdit

Tip

The FontEdit class inherits its features from the ComboBoxEdit class.

Refer to the ComboBoxEdit class description for information on derived features and API.

#Create a FontEdit

<Window ...
    xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors">

<dxe:FontEdit Font="Arial"/>
...

#Edit Value

The FontEdit value is specified by the EditValue of Font property. To respond to edit value changing, handle the BaseEdit.EditValueChanging and BaseEdit.EditValueChanged events.

Use the AllowConfirmFontUseDialog property to display a confirmation dialog window an end user tries to set a font which is not installed on the system.

See Also