# Control

(UI 0.9.9)

## 简介

This is the closed base class for all UI Controls.

## 类摘要

final class UI\Control {
/* 方法 */
public function destroy()
public function disable()
public function enable()
public function getParent(): UI\Control
public function getTopLevel(): int
public function hide()
public function isEnabled(): bool
public function isVisible(): bool
public function setParent(UI\Control `$parent`)
public function show()
}

## 目录

- UI\Control::destroy — Destroy Control
- UI\Control::disable — Disable Control
- UI\Control::enable — Enable Control
- UI\Control::getParent — Get Parent Control
- UI\Control::getTopLevel — Get Top Level
- UI\Control::hide — Hide Control
- UI\Control::isEnabled — Determine if Control is enabled
- UI\Control::isVisible — Determine if Control is visible
- UI\Control::setParent — Set Parent Control
- UI\Control::show — Control Show

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open