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