TX Text Control .NET Server

SignatureFieldEventArgs Class

Class|Introduced in 31.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.Core.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXTextControl.Core.dll
Install
dotnet add package TXTextControl.TextControl.Core.SDK .NET 8 and later. For .NET Framework, reference TXTextControl.dll from the setup.
Also in
TXTextControl.TextControl.ASP.SDK as TXTextControl.dll
Inherits
  1. EventArgs
  2. SignatureFieldEventArgs

Description

The SignatureFieldEventArgs class provides data for all events that occur with signature fields. These are the TextControl.SignatureFieldCreated, TextControl.SignatureFieldDeleted, TextControl.SignatureFieldClicked, TextControl.SignatureFieldSelected and TextControl.SignatureFieldDeselected events.

Syntax

public class SignatureFieldEventArgs : EventArgs

Examples

The following example uses SignatureFieldEventArgs.SignatureField while handling SignatureFieldClicked.

textControl.SignatureFieldClicked += (_, e) =>
{
    if (e.SignatureField != null)
    {
        e.SignatureField.DescriptiveText = "Quarterly sales by region";
    }
};

Members

Properties

PropertyDescription
SignatureFieldGets an object that represents the image which causes the event. It is of the type SignatureField.