Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 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

ToggleViewMergedDataCommand Class

Displays or hide actual data in MERGEFIELD fields.

Namespace: DevExpress.XtraRichEdit.Commands

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

NuGet Package: DevExpress.RichEdit.Core

#Declaration

public class ToggleViewMergedDataCommand :
    RichEditMenuItemSimpleCommand

#Remarks

The command affects how the MERGEFIELD fields are shown. It toggles display of a field placeholder or actual data from the record with the index specified by the RichEditMailMergeOptions.ActiveRecord property.

Note

When this command is executed, all fields in the document are updated.

The RichEditMailMergeOptions.ViewMergedData option also affects how MERGEFIELD data are displayed.

#Inheritance

Object
Command
DevExpress.Utils.Commands.ControlCommand<IRichEditControl, RichEditCommandId, DevExpress.XtraRichEdit.Localization.XtraRichEditStringId>
DevExpress.XtraRichEdit.Commands.RichEditCommandBase<DevExpress.XtraRichEdit.Localization.XtraRichEditStringId>
See Also