Click or drag to resize

ControlEnabled Property

Gets or sets a value indicating whether this Control (or its children) are enabled and accept user input.

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
public virtual bool Enabled { get; set; }

Property Value

Type: Boolean
true if enabled; otherwise, false.
Typically when a control is disabled, the user cannot do anything with the control or any of its children. Including for example, selecting text in a text control. Certain controls can have a 'Read Only' mode, such as ReadOnly which allow the user to select text, but not change its contents.
See Also