Skip to main content
A newer version of this page is available. .

RichEditControl.Modified Property

Gets or sets a value that indicates that the RichEdit control content was modified since it was last saved.

Namespace: DevExpress.Xpf.RichEdit

Assembly: DevExpress.Xpf.RichEdit.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.RichEdit, DevExpress.Wpf.RichEdit

Declaration

[Browsable(false)]
public bool Modified { get; set; }

Property Value

Type Description
Boolean

true if the control content was modified since it was last saved; otherwise, false.

Remarks

The RichEditControl.SaveDocument, RichEditControl.SaveDocumentAs or Document.SaveDocument method call does not automatically change the Modified property value. However, the and SaveDocumentCommand or SaveDocumentAsCommand execution changes the Modified property value to false.

When the Modified property value is changed, the RichEditControl.ModifiedChanged event raises.

See Also