Table of Contents

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 ICoreClientAPI

The Client API.

bounds ElementBounds

the bounds of the element.

Fields

enabled

protected bool enabled

Field Value

bool

Properties

Enabled

Enables/disables the given element (default is enabled)

public virtual bool Enabled { get; set; }

Property Value

bool