ClassNote
Represents a note in the Telerik document model, which can store text and associated metadata.
Definition
Namespace:Telerik.Windows.Documents.Model.Notes
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public class Note : ChildDocumentContainer
Inheritance: objectChildDocumentContainerNote
Inherited Members
Constructors
Note()
Declaration
public Note()
Properties
Body
Gets or sets the body text of the note.
Declaration
[XamlSerializable]
public override RadDocument Body { get; set; }
Property Value
A string representing the content of the note's body.
Overrides
CustomMark
Represents a custom mark in a note, allowing for additional annotations or highlights.
Declaration
[XamlSerializable]
public string CustomMark { get; set; }
Property Value
HasCustomMark
Gets a value indicating whether the note has a custom mark applied.
Methods
CreateCustomMarkEndnote(string, FontFamily)
Creates a custom mark for an endnote with the specified text and font family.
Declaration
public static Note CreateCustomMarkEndnote(string symbol, FontFamily fontFamily = null)
Parameters
symbol
The text to display as the endnote mark.
fontFamily
FontFamily
The font family to apply to the endnote mark.
Returns
A new instance of the custom endnote mark.
CreateCustomMarkFootnote(string, FontFamily)
Creates a custom mark footnote with the specified text and font family.
Declaration
public static Note CreateCustomMarkFootnote(string symbol, FontFamily fontFamily = null)
Parameters
symbol
The text content of the footnote.
fontFamily
FontFamily
The font family to be used for the footnote text.
Returns
A Note object representing the custom mark footnote.
CreateDeepCopy()
Creates a deep copy of the current Note instance.
Declaration
public Note CreateDeepCopy()
Returns
A new Note object that is a deep copy of the original instance.
CreateDefaultEndnote()
Creates a default endnote.
CreateDefaultFootnote()
Creates a default footnote in the document model.
OnBodyChanged()
Declaration
protected override void OnBodyChanged()
Overrides
OnBodyChanging()
Declaration
protected override void OnBodyChanging()
Overrides