DateFormFieldEventArgs Class
- Namespace
TXTextControl
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. Core. SDK
- Assembly
TXTextControl.Core. dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. Core. SDK TXTextControl.from the setup.dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXTextControl.dll
- Inherits
- Event
Args - Date
Form Field Event Args
- Event
Description
The DateFormFieldEventArgs class provides data for the TextControl.FormFieldDateChanged event.
Syntax
public class DateFormFieldEventArgs : EventArgsPublic Class DateFormFieldEventArgs
Inherits EventArgsExamples
The following example uses DateFormFieldEventArgs.DateFormField while handling FormFieldDateChanged.
textControl.FormFieldDateChanged += (_, e) =>
{
e.DateFormField?.ScrollTo();
};AddHandler textControl.FormFieldDateChanged,
Sub(sender, e)
If e.DateFormField IsNot Nothing Then e.DateFormField.ScrollTo()
End SubMembers
Properties
| Property | Description |
|---|---|
| DateFormField | Gets an object representing the DateFormField that causes the event. |