TX Text Control .NET for Windows Forms

FormFieldDateChanged Event

Event|Introduced in 28.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.Windows.Forms.dll from the private NuGet feed or Text Control Offline Packages

Description

Occurs when the date of a DateFormField has been changed. The event handler receives an argument of type DateFormFieldEventArgs containing data related to this event. The event does not occur, when the DateFormField.Date property has been used to change the date.

Syntax

public event DateFormFieldEventHandler FormFieldDateChanged;

Examples

The following example records useful context when form field date changed occurs.

textControl.FormFieldDateChanged += (sender, e) =>
{
    Console.WriteLine($"Form Field Date Changed at {DateTime.Now:u}");
};