TX Text Control .NET for WPF

Frame Property

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

Description

Gets an object that represents the frame which causes the event. It is of the type Image, TextFrame, DataVisualization.ChartFrame, DataVisualization.BarcodeFrame or DataVisualization.DrawingFrame.

Syntax

public FrameBase Frame { get; }

Examples

The following example uses FrameEventArgs.Frame while handling FrameClicked.

textControl.FrameClicked += (_, e) =>
{
    if (e.Frame != null)
    {
        e.Frame.DescriptiveText = "Quarterly sales by region";
    }
};

Limitations

Read only.