TX Text Control .NET for Windows Forms

ChartDeselected Event

Event|Introduced in 19.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.Windows.Forms.dll from the private NuGet feed or Text Control Offline Packages

Description

Occurs when a chart has been deselected. The event handler receives an argument of type ChartEventArgs containing data related to this event.

Syntax

public event ChartEventHandler ChartDeselected;

Examples

The following example records useful context when chart deselected occurs.

textControl.ChartDeselected += (sender, e) =>
{
    Console.WriteLine($"Chart Deselected at {DateTime.Now:u}");
};