Skip to main content
.NET Framework 4.5.2+

ToggleViewMergedDataCommand Class

Displays or hide actual data in MERGEFIELD fields.

Namespace: DevExpress.XtraRichEdit.Commands

Assembly: DevExpress.RichEdit.v22.1.Core.dll

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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ToggleViewMergedDataCommand class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

Inheritance

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