officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-contentcontrolbase-465cc138.md
Specifies whether to remove a content control from the active document when the user edits its contents.
Namespace : DevExpress.XtraRichEdit.API.Native
Assembly : DevExpress.RichEdit.v25.2.Core.dll
NuGet Package : DevExpress.RichEdit.Core
bool IsTemporary { get; set; }
Property IsTemporary As Boolean
| Type | Description |
|---|---|
| Boolean |
true if the content control is temporary; otherwise, false.
|
The following code snippets (auto-collected from DevExpress Examples) contain references to the IsTemporary property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
wpf-richedit-document-api/CS/DXRichEditControlAPISample/CodeExamples/ContentControlActions.cs#L62
contentControl.IsTemporary = true;
break;
winforms-richedit-document-api/CS/RichEditAPISample/CodeExamples/ContentControls.cs#L63
contentControl.IsTemporary = true;
break;
word-document-api-examples/CS/CodeExamples/ContentControlsActions.cs#L64
contentControl.IsTemporary = true;
break;
winforms-richedit-document-api/VB/RichEditAPISample/CodeExamples/ContentControls.vb#L50
Case DevExpress.XtraRichEdit.API.Native.ContentControlType.RichText, DevExpress.XtraRichEdit.API.Native.ContentControlType.PlainText
contentControl.IsTemporary = True
Case DevExpress.XtraRichEdit.API.Native.ContentControlType.Checkbox
See Also