TX Text Control .NET for WPF

HorizontalOffset Property

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

Description

Gets the horizontal distance between the top-left corner of the screen and the location where the mini-toolbar is displayed.

Syntax

public double HorizontalOffset { get; }

Examples

The following example includes the horizontal offset value in application diagnostics. The created object is then available to the surrounding document workflow.

Console.WriteLine($"Horizontal Offset: {miniToolbarOpeningEventArgs.HorizontalOffset}");
Console.WriteLine("Mini Toolbar Opening Event Args is ready for use.");

Limitations

Read only.