HorizontalOffset Property
- Namespace
TXTextControl.WPF
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWPF. dll
Description
Gets the horizontal distance between the top-left corner of the screen and the location where the menu is displayed.
Syntax
public double HorizontalOffset { get; }Public ReadOnly Property HorizontalOffset As DoubleExamples
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: {textContextMenuEventArgs.HorizontalOffset}");
Console.WriteLine("Text Context Menu Event Args is ready for use.");Console.WriteLine($"Horizontal Offset: {textContextMenuEventArgs.HorizontalOffset}")
Console.WriteLine("Text Context Menu Event Args is ready for use.")Limitations
Read only.