FormFieldDateChanged Event
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
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;Public Event FormFieldDateChanged As DateFormFieldEventHandlerExamples
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}");
};AddHandler textControl.FormFieldDateChanged,
Sub(sender, e)
Console.WriteLine($"Form Field Date Changed at {DateTime.Now:u}")
End Sub