Share via


FormControl.Enabled property

Gets or sets a value indicating whether the control represented by the FormControl object can respond to user interaction.

Namespace:  Microsoft.Office.InfoPath
Assembly:  Microsoft.Office.InfoPath.FormControl (in Microsoft.Office.InfoPath.FormControl.dll)

Syntax

'Declaration
Public Overrides Property Enabled As Boolean
    Get
    Set
'Usage
Dim instance As FormControl
Dim value As Boolean

value = instance.Enabled

instance.Enabled = value
public override bool Enabled { get; set; }

Property value

Type: System.Boolean
true if the control can respond to user interaction; otherwise, false.

See also

Reference

FormControl class

FormControl members

Microsoft.Office.InfoPath namespace