Enabled 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 a value indicating whether the menu item is enabled.
Syntax
public bool Enabled { get; set; }Public Property Enabled As BooleanExamples
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.");
}menuItem.Enabled = True
If menuItem.Enabled Then
Console.WriteLine("Menu Item: Enabled is enabled.")
End IfLimitations
Read only.