ContextMenuLocation Property
- Namespace
TXTextControl.ServerVisualisation
- Package
TXTextControl.asTextControl. Core. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesServer. Core. dll
- Also in
TXTextControl.asTextControl. ASP. SDK 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; }Public ReadOnly Property ContextMenuLocation As ContextMenuLocationExamples
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.");Console.WriteLine($"Context Menu Location: {textContextMenuEventArgs.ContextMenuLocation}")
Console.WriteLine("Text Context Menu Event Args is ready for use.")Limitations
Read only.