SelectionFormField Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets an object representing the SelectionFormField that causes the event.
Syntax
public SelectionFormField SelectionFormField { get; }Public ReadOnly Property SelectionFormField As SelectionFormFieldExamples
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 SubLimitations
Read only.