TX Text Control .NET for Windows Forms

SelectionFormFieldEventArgs Class

Class|Introduced in 28.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.WinForms.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXTextControl.dll
Install
dotnet add package TXTextControl.TextControl.WinForms.SDK .NET 8 and later. For .NET Framework, reference TXTextControl.dll from the setup.
Inherits
  1. EventArgs
  2. SelectionFormFieldEventArgs

Description

The SelectionFormFieldEventArgs class provides data for the TextControl.FormFieldSelectionChanged event.

Syntax

public class SelectionFormFieldEventArgs : EventArgs

Examples

The following example uses SelectionFormFieldEventArgs.SelectionFormField while handling FormFieldSelectionChanged.

textControl.FormFieldSelectionChanged += (_, e) =>
{
    e.SelectionFormField?.ScrollTo();
};

Members

Properties

PropertyDescription
SelectionFormFieldGets an object representing the SelectionFormField that causes the event.