officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-note-4fad2d5f.md
Gets whether to note has a custom reference mark.
Namespace : DevExpress.XtraRichEdit.API.Native
Assembly : DevExpress.RichEdit.v25.2.Core.dll
NuGet Package : DevExpress.RichEdit.Core
bool IsCustom { get; }
ReadOnly Property IsCustom As Boolean
| Type | Description |
|---|---|
| Boolean |
true , if the note has custom reference mark; otherwise, false.
|
Call the NoteCollection.Insert(DocumentPosition, String) method overload to insert a note with a custom reference mark. You cannot change an existing note’s reference mark.
The following code snippets (auto-collected from DevExpress Examples) contain references to the IsCustom 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.
winforms-richedit-document-api/CS/RichEditAPISample/CodeExamples/Notes.cs#L127
{
if (document.Endnotes[i].IsCustom)
document.Endnotes.Remove(document.Endnotes[i]);
wpf-richedit-document-api/CS/DXRichEditControlAPISample/CodeExamples/NotesActions.cs#L123
{
if (document.Endnotes[i].IsCustom)
document.Endnotes.Remove(document.Endnotes[i]);
word-document-api-examples/CS/CodeExamples/NotesActions.cs#L158
{
if (document.Endnotes[i].IsCustom)
document.Endnotes.Remove(document.Endnotes[i]);
winforms-richedit-document-api/VB/RichEditAPISample/CodeExamples/Notes.vb#L93
For i As Integer = document.Endnotes.Count - 1 To 0 Step -1
If document.Endnotes(CInt((i))).IsCustom Then document.Endnotes.Remove(document.Endnotes(i))
Next
wpf-richedit-document-api/VB/DXRichEditControlAPISample/CodeExamples/NotesActions.vb#L111
For i As Integer = document.Endnotes.Count - 1 To 0 Step -1
If document.Endnotes(i).IsCustom Then
document.Endnotes.Remove(document.Endnotes(i))
word-document-api-examples/VB/CodeExamples/NotesActions.vb#L124
For i As Integer = document.Endnotes.Count - 1 To 0 Step -1
If document.Endnotes(CInt((i))).IsCustom Then document.Endnotes.Remove(document.Endnotes(i))
Next
See Also