Back to Devexpress

ShowFontFormCommand Class

officefileapi-devexpress-dot-xtrarichedit-dot-commands-43cd792c.md

latest3.0 KB
Original Source

ShowFontFormCommand Class

Invokes the Font dialog that allows you to change the font, size and style of selected text.

Namespace : DevExpress.XtraRichEdit.Commands

Assembly : DevExpress.RichEdit.v25.2.Core.dll

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
public class ShowFontFormCommand :
    ChangeCharacterFormattingCommandBase<MergedCharacterProperties>
vb
Public Class ShowFontFormCommand
    Inherits ChangeCharacterFormattingCommandBase(Of MergedCharacterProperties)

Remarks

The Font dialog is shown in the following picture:

You can also use the CharacterProperties interface of the document range to change its font, style and size. See the Text Formatting article for more information.

Inheritance

Object Command DevExpress.Utils.Commands.ControlCommand<IRichEditControl, RichEditCommandId, DevExpress.XtraRichEdit.Localization.XtraRichEditStringId> DevExpress.XtraRichEdit.Commands.RichEditCommandBase<DevExpress.XtraRichEdit.Localization.XtraRichEditStringId> RichEditCommand DevExpress.XtraRichEdit.Commands.SelectionBasedCommandBase SelectionBasedPropertyChangeCommandBase DevExpress.XtraRichEdit.Commands.ChangeCharacterFormattingCommandBase<DevExpress.XtraRichEdit.Model.MergedCharacterProperties> ShowFontFormCommand

See Also

ShowFontFormCommand Members

Format Text in Rich Text Documents

BeginUpdateCharacters

EndUpdateCharacters(CharacterProperties)

Keyboard Shortcuts in Rich Text Editor

Font Dialog

DevExpress.XtraRichEdit.Commands Namespace