DocumentPreviewControl.AllowDocumentEditing Property

Specifies whether editing a document's content is enabled.

Namespace: DevExpress.Xpf.Printing

Assembly: DevExpress.Xpf.Printing.v20.1.dll


public bool AllowDocumentEditing { get; set; }
Public Property AllowDocumentEditing As Boolean

Property Value

Type Description

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


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