Class GuiElementControl
- Namespace
- Vintagestory.API.Client
- Assembly
- VintagestoryAPI.dll
An element that allows input and can be disabled
public abstract class GuiElementControl : GuiElement, IDisposable
- Inheritance
-
GuiElementControl
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
GuiElementControl(ICoreClientAPI, ElementBounds)
Constructor for the element.
public GuiElementControl(ICoreClientAPI capi, ElementBounds bounds)
Parameters
capi
ICoreClientAPIThe Client API.
bounds
ElementBoundsthe bounds of the element.
Fields
enabled
protected bool enabled
Field Value
Properties
Enabled
Enables/disables the given element (default is enabled)
public virtual bool Enabled { get; set; }