TX Text Control .NET Server

ContextMenuLocation Property

Property|Introduced in 21.0
Namespace
TXTextControl.ServerVisualisation
Package
TXTextControl.TextControl.Core.SDK as TXTextControl.Server.Core.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TextControl.ASP.SDK as TXTextControl.Server.dll

Description

Gets the location in the document for which the menu items have been generated. The generated items depend on this location. The property value can be a combination (bitwise or) of the ContextMenuLocation values.

Syntax

public ContextMenuLocation ContextMenuLocation { get; }

Examples

The following example includes the context menu location value in application diagnostics. The created object is then available to the surrounding document workflow.

Console.WriteLine($"Context Menu Location: {textContextMenuEventArgs.ContextMenuLocation}");
Console.WriteLine("Text Context Menu Event Args is ready for use.");

Limitations

Read only.