TX Text Control .NET Server

RemoveDateControl Event

Event|Introduced in 28.0
Namespace
TXTextControl.ServerVisualisation
Package
TXTextControl.TextControl.Core.SDK as TXTextControl.Server.Core.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TextControl.ASP.SDK as TXTextControl.Server.dll

Description

Occurs when the date control of a DateFormField must be removed.

Syntax

public event EventHandler RemoveDateControl;

Examples

The following example records useful context when remove date control occurs.

textViewGenerator.RemoveDateControl += (sender, e) =>
{
    Console.WriteLine($"Remove Date Control at {DateTime.Now:u}");
};