TX Text Control .NET for WPF

TextFrameDoubleClicked Event

Event|Introduced in 16.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 a text frame has been doubleclicked on. The event handler receives an argument of type TextFrameEventArgs containing data related to this event.

Syntax

public event TextFrameEventHandler TextFrameDoubleClicked;

Examples

The following example records useful context when text frame double clicked occurs.

textControl.TextFrameDoubleClicked += (sender, e) =>
{
    Console.WriteLine($"Text Frame Double Clicked at {DateTime.Now:u}");
};