Back to Devexpress

DocumentPreviewControl.AllowDocumentEditing Property

wpf-devexpress-dot-xpf-dot-printing-dot-documentpreviewcontrol-b1c69c3b.md

latest1.8 KB
Original Source

DocumentPreviewControl.AllowDocumentEditing Property

Specifies whether editing a document’s content is enabled.

Namespace : DevExpress.Xpf.Printing

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

NuGet Package : DevExpress.Wpf.Printing

Declaration

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

Property Value

TypeDescription
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

DocumentPreviewControl Class

DocumentPreviewControl Members

DevExpress.Xpf.Printing Namespace