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

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