TX Text Control .NET Server

Enabled 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 a value indicating whether the menu item is enabled.

Syntax

public bool Enabled { get; set; }

Examples

The following example uses MenuItem.Enabled to configure enabled as part of the menu item workflow. The configured value is checked before the workflow continues.

menuItem.Enabled = true;
if (menuItem.Enabled)
{
    Console.WriteLine("Menu Item: Enabled is enabled.");
}

Limitations

Read only.