ContextMenusEnabled Property
- Namespace
TXTextControl.Web. MVC
- Package
TXTextControl.asWeb TXTextControl.from nuget.org, the private NuGet feed or Text Control Offline PackagesWeb. DocumentEditor. dll
Description
Determines if a right click opens a context menu or not.
Syntax
public bool ContextMenusEnabled { get; set; }Public Property ContextMenusEnabled As BooleanExamples
In the current ASP.NET Core integration, ContextMenusEnabled is configured through TextControlSettings. The following example sets it while creating the editor configuration.
textControlSettings.ContextMenusEnabled = true;
if (textControlSettings.ContextMenusEnabled)
{
Console.WriteLine("Context Menus Enabled is enabled for Text Control Settings.");
}textControlSettings.ContextMenusEnabled = True
If textControlSettings.ContextMenusEnabled Then
Console.WriteLine("Context Menus Enabled is enabled for Text Control Settings.")
End If