FootnoteEventArgs Class
- Namespace
TXTextControl
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. Core. SDK
- Assembly
TXTextControl.Core. dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. Core. SDK TXTextControl.from the setup.dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXTextControl.dll
- Inherits
- Event
Args - Footnote
Event Args
- Event
Description
The FootnoteEventArgs class provides data for the FootnoteCreated, FootnoteDeleted, FootnoteReferenceMarkEntered and FootnoteReferenceMarkLeft events. When a footnote is deleted, the Footnote object provided with the event data has the following valid properties: HighlightColor, HighlightMode, ID and Name. All other properties are undefined.
Syntax
public class FootnoteEventArgs : EventArgsPublic Class FootnoteEventArgs
Inherits EventArgsExamples
The following example uses FootnoteEventArgs.Footnote while handling FootnoteCreated.
textControl.FootnoteCreated += (_, e) =>
{
e.Footnote?.ScrollTo();
};AddHandler textControl.FootnoteCreated,
Sub(sender, e)
If e.Footnote IsNot Nothing Then e.Footnote.ScrollTo()
End SubMembers
Properties
| Property | Description |
|---|---|
| Footnote | Gets an object that represents the footnote which causes the event. It is of the type Footnote. |