# Sandbox.UI.TableHeader

A heading cell. Given a [Sandbox.UI.TableHeader.Sort](/api/Sandbox.UI.TableHeader/Sort) key, pressing it sorts its [Sandbox.UI.Table](/api/Sandbox.UI.Table) by it, and it shows which
way when it's the one sorted by. In a resizable table, its edge can be dragged.

- Kind: class
- Namespace: `Sandbox.UI`
- Assembly: `Sandbox.Engine`
- Inherits: [Sandbox.UI.TableCell](/api/Sandbox.UI.TableCell)

## Constructors

- [`TableHeader`](/api/Sandbox.UI.TableHeader/.ctor)

## Properties

- [`DescendingFirst`](/api/Sandbox.UI.TableHeader/DescendingFirst): Sort highest first when first pressed, as you'd want for a count or a score. `sortfirst="descending"`.
- [`Resizable`](/api/Sandbox.UI.TableHeader/Resizable): Its edge can be dragged to resize its column, in a resizable table.
- [`Sort`](/api/Sandbox.UI.TableHeader/Sort): What pressing it sorts by - null for a plain heading.

## Methods

- [`SetProperty`](/api/Sandbox.UI.TableHeader/SetProperty)
- [`Tick`](/api/Sandbox.UI.TableHeader/Tick)
