Skip to main content

DocumentPreviewControl.AllowDocumentEditing Property

Specifies whether editing a document’s content is enabled.

Namespace: DevExpress.Xpf.Printing

Assembly: DevExpress.Xpf.Printing.v24.2.dll

NuGet Package: DevExpress.Wpf.Printing

Declaration

public bool AllowDocumentEditing { get; set; }

Property Value

Type Description
Boolean

true, to enable document editing in the Document Preview; otherwise, false.

Remarks

When the AllowDocumentEditing property is set to true, users can customize specific fields for which interactive content editing is enabled. Clicking a field in the Document Preview invokes an appropriate editor.

If you set this property to false, clicking such fields does not activate the corresponding editors. If you disable this property when a user is editing a specific field, the editor is closed without saving changes.

See Also