Back to Devexpress

ContentControlBase.IsTemporary Property

officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-contentcontrolbase-465cc138.md

latest3.2 KB
Original Source

ContentControlBase.IsTemporary Property

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

Declaration

csharp
bool IsTemporary { get; set; }
vb
Property IsTemporary As Boolean

Property Value

TypeDescription
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

csharp
contentControl.IsTemporary = true;
break;

winforms-richedit-document-api/CS/RichEditAPISample/CodeExamples/ContentControls.cs#L63

csharp
contentControl.IsTemporary = true;
break;

word-document-api-examples/CS/CodeExamples/ContentControlsActions.cs#L64

csharp
contentControl.IsTemporary = true;
break;

winforms-richedit-document-api/VB/RichEditAPISample/CodeExamples/ContentControls.vb#L50

vb
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

ContentControlBase Interface

ContentControlBase Members

DevExpress.XtraRichEdit.API.Native Namespace