TX Text Control .NET for WPF

FormFieldCheckChanged Event

Event|Introduced in 28.0
Namespace
TXTextControl.WPF
Package
TXTextControl.TextControl.WPF.SDK as TXTextControl.WPF.dll from the private NuGet feed or Text Control Offline Packages

Description

Occurs when the checkmark of a CheckFormField has been changed from checked to unchecked or vice versa. The event handler receives an argument of type CheckFormFieldEventArgs containing data related to this event. The event does not occur, when the CheckFormfield.Checked property has been used to change the checkmark.

Syntax

public event CheckFormFieldEventHandler FormFieldCheckChanged;

Examples

The following example records useful context when form field check changed occurs.

textControl.FormFieldCheckChanged += (sender, e) =>
{
    Console.WriteLine($"Form Field Check Changed at {DateTime.Now:u}");
};