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