Skip to main content

ToggleFieldCodesCommand(IRichEditControl, Field) Constructor

Initializes a new instance of the ToggleFieldCodesCommand class with the specified owner and the specified field.

Namespace: DevExpress.XtraRichEdit.Commands

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

NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation

Declaration

public ToggleFieldCodesCommand(
    IRichEditControl control,
    Field field
)

Parameters

Name Type Description
control IRichEditControl

An object implementing the DevExpress.XtraRichEdit.IRichEditControl interface, specifying the command owner.

field DevExpress.XtraRichEdit.Model.Field

A Field object representing a document field for which to show/hide codes.

See Also