OnCommentedTextLeft Method
- Namespace
TXTextControl.ServerVisualisation
- Package
TXTextControl.asTextControl. Core. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesServer. Core. dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXTextControl.Server. dll
Description
Raises the CommentedTextLeft event.
Syntax
protected virtual void OnCommentedTextLeft(CommentEventArgs e);Protected Overridable Sub OnCommentedTextLeft(e As CommentEventArgs)Parameters
| Parameter | Description |
|---|---|
| e | Specifies an CommentEventArgs object that contains the event data. |
Examples
The following example extends Text View Generator and performs custom processing when On Commented Text Left is invoked.
class CustomTextViewGenerator : TXTextControl.ServerVisualisation.TextViewGenerator
{
protected override void OnCommentedTextLeft(CommentEventArgs e)
{
// Add custom processing before registered event handlers run.
base.OnCommentedTextLeft(e);
}
}Class CustomTextViewGenerator
Inherits TXTextControl.ServerVisualisation.TextViewGenerator
Protected Overrides Sub OnCommentedTextLeft(e As CommentEventArgs)
' Add custom processing before registered event handlers run.
MyBase.OnCommentedTextLeft(e)
End Sub
End Class