New to Telerik UI for WinForms? Start a free 30-day trial

Base for footnote and endnote reference markers that calculate their displayed labels from custom marks or numbering settings.

Definition

Namespace:Telerik.WinForms.Documents.Model.Notes

Assembly:Telerik.WinControls.RichTextEditor.dll

Syntax:

C#
public abstract class NoteRangeStartBase : MarkRangeStartBase, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor

Inheritance: objectDisposableObjectRadObjectDocumentElementInlineAnnotationMarkerBaseAnnotationRangeMarkerBaseAnnotationRangeStartFieldRangeStartBaseMarkRangeStartBaseNoteRangeStartBase...

Derived Classes: EndnoteRangeStartFootnoteRangeStart

Implements: ICustomTypeDescriptorIDisposableINotifyPropertyChanged

Inherited Members MarkRangeStartBase.SkipPositionsInRangeMarkRangeStartBase.SkipPositionBeforeMarkRangeStartBase.IsWordSeparatorMarkRangeStartBase.ShouldSpellcheckMarkRangeStartBase.DeleteBehaviorMarkRangeStartBase.BackspaceBehaviorMarkRangeStartBase.DeleteSelectedBehaviorFieldRangeStartBase.IsCopyableAnnotationRangeStart.EndAnnotationRangeStart.IsPairedAnnotationRangeStart.IsRangeDeletableAnnotationRangeStart.IsRangeEditableAnnotationMarkerBase.CreateLayoutBox(DocumentStructureCollection)AnnotationMarkerBase.CopyPropertiesFromOverride(DocumentElement)AnnotationMarkerBase.AnnotationIDAnnotationMarkerBase.SkipPositionAfterInline.CopyFromPositionToEndOfInline(DocumentPosition, DocumentPosition)Inline.CopyFromStartOfInlineToEndPosition(DocumentPosition)Inline.CopyContentFrom(DocumentElement)Inline.FieldStartDocumentElement.CreateNewElementInstance()DocumentElement.GetStyleProperty(IStylePropertyDefinition)DocumentElement.GetStyleProperty(string)DocumentElement.EnumerateChildrenOfType<T>()DocumentElement.GetParentOfType<T>()DocumentElement.CreateLayoutBox()DocumentElement.CopyPropertiesFrom(DocumentElement)DocumentElement.CopyPropertiesFromStyle(StyleDefinition)DocumentElement.ExtractStyleFromProperties()DocumentElement.ExtractStyleFromLocalProperties()DocumentElement.InvalidateAssociatedBoxesArrange()DocumentElement.InvalidateAssociatedBoxesMeasure()DocumentElement.InvalidateAssociatedBoxesLayout()DocumentElement.GetAssociatedLayoutBoxes()DocumentElement.GetRootDocument()DocumentElement.CreateDeepCopy()DocumentElement.CreateShallowCopy()DocumentElement.GetPropertyValueSource(IStylePropertyDefinition)DocumentElement.ClearValue(IStylePropertyDefinition)DocumentElement.OnRemoved()DocumentElement.OnStyleChanging()DocumentElement.OnStyleChanged()DocumentElement.OnStylePropertyChanged(StylePropertyChangeEventArgs)DocumentElement.OnParentChanging()DocumentElement.OnParentChanged()DocumentElement.ChildIndexDocumentElement.HasStyleDocumentElement.StyleDocumentElement.StyleNameDocumentElement.TagDocumentElement.FirstLayoutBoxDocumentElement.IsFirstLayoutBoxInitializedDocumentElement.DocumentElementsDocumentElement.ParentDocumentElement.ChildrenDocumentElement.PreviousSiblingDocumentElement.NextSiblingDocumentElement.CursorDocumentElement.StyleChangingDocumentElement.StyleChangedDocumentElement.StylePropertyChangedDocumentElement.ParentChangingDocumentElement.ParentChangedDocumentElement.PropertyValueChangedRadObject.BindingContextPropertyRadObject.RadTypeRadObject.ReplaceDefaultDescriptors(PropertyDescriptorCollection)RadObject.DisposeManagedResources()RadObject.ClearPropertyStore()RadObject.SuspendPropertyNotifications()RadObject.ResumePropertyNotifications()RadObject.GetPropertyValue(RadProperty)RadObject.SetDefaultValueOverride(RadProperty, object)RadObject.GetValue(RadProperty)RadObject.SetValue(RadProperty, object)RadObject.ResetValue(RadProperty)RadObject.ResetLocalValue(RadProperty)RadObject.ResetValue(RadProperty, ValueResetFlags)RadObject.UpdateValue(RadProperty)RadObject.GetValueSource(RadProperty)RadObject.GetRegisteredRadProperty(string)RadObject.UpdateValueCore(RadPropertyValue)RadObject.SetValueCore(RadPropertyValue, object, object, ValueSource)RadObject.ResetValueCore(RadPropertyValue, ValueResetFlags)RadObject.GetDefaultValue(RadPropertyValue, object)RadObject.CoerceValue(RadPropertyValue, object)RadObject.ShouldSerializeProperty(RadProperty)RadObject.CanRaisePropertyChangeNotifications(RadPropertyValue)RadObject.BindProperty(RadProperty, RadObject, RadProperty, PropertyBindingOptions)RadObject.UnbindProperty(RadProperty)RadObject.AddStylePropertySetting(IPropertySetting)RadObject.GetInheritedValue(RadProperty)RadObject.OnPropertyChanging(RadPropertyChangingEventArgs)RadObject.OnPropertyChanged(RadPropertyChangedEventArgs)RadObject.OnNotifyPropertyChanged(string)RadObject.OnNotifyPropertyChanged(PropertyChangedEventArgs)RadObject.OnShouldSerializeProperty(ShouldSerializePropertyEventArgs)RadObject.IsPropertyCancelable(RadPropertyMetadata)RadObject.PropertyValuesRadObject.PropertyFilterRadObject.RadObjectTypeRadObject.BindingContextRadObject.PropertyChangedRadObject.RadPropertyChangedRadObject.RadPropertyChangingDisposableObject.GetBitState(long)DisposableObject.SetBitState(long, bool)DisposableObject.OnBitStateChanged(long, bool, bool)DisposableObject.Dispose()DisposableObject.Dispose(bool)DisposableObject.PerformDispose(bool)DisposableObject.DisposeUnmanagedResources()DisposableObject.BitStateDisposableObject.EventsDisposableObject.IsDisposingDisposableObject.IsDisposedDisposableObject.DisposedDisposableObject.Disposing...

Constructors

C#
protected NoteRangeStartBase()

Properties

Gets a value indicating whether the associated note supplies custom reference text instead of an automatic number.

C#
public bool HasCustomMark { get; }

Gets the note paired with this range start, or null when the range has no end marker.

C#
public Note Note { get; }

Gets the style name applied to the note's reference marker in its body.

C#
public abstract string NoteStyleName { get; }

Methods

Leaves content copying empty because the note body and custom mark are stored on the paired range end.

C#
protected override void CopyContentFromOverride(DocumentElement fromElement)
Parameters:fromElementDocumentElement

Overrides: Inline.CopyContentFromOverride(DocumentElement)

Gets the reference markers of the same note type from the specified document.

C#
protected abstract IEnumerable<NoteRangeStartBase> GetNotesCollection(RadDocument doc)
Parameters:docRadDocument

The document containing the note markers.

Returns:

IEnumerable<NoteRangeStartBase>

The note markers used to calculate this reference's position in its numbering sequence.

Gets the numbering settings that apply to a note in the specified section.

C#
protected abstract void GetNoteSettings(Section section, out NumberingRestartType restartType, out ListNumberingFormat numberingFormat, out int notesFirstNumber)
Parameters:sectionSection

The section containing the note.

restartTypeNumberingRestartType

Receives whether numbering continues across pages and sections or restarts at each page or section.

numberingFormatListNumberingFormat

Receives the format used to render the reference marker.

notesFirstNumberint

Receives the base number added to the calculated reference ordinal.

Recalculates this reference's displayed text and synchronizes the corresponding marker in the note body.

C#
public override void UpdateAssociatedSpan()

Overrides: MarkRangeStartBase.UpdateAssociatedSpan()

Replaces the text in each reference marker inside the note body and notifies the body if any marker changed.

C#
public void UpdateBodyDocumentMarks(string markText)
Parameters:markTextstring

The reference text to apply to the note body's markers.