ListViewHeader

Defines the header of a ListView. Extended from a ListViewItem.

Constructors

this
this(int height, int[] columnWidths, Text[] fields)

Default CTOR

this
this(int height, int[] columnWidths, dstring[] ds)

CTOR for creating fields with default text formatting

Members

Functions

draw
void draw(ListView parent)

Draws the header. Draw parameters are supplied via a nested class found in ListView.

Variables

columnWidths
int[] columnWidths;

Width of each columns

Inherited Members

From ListViewItem

Field
struct Field

Defines a single field (cell) in a listview.

fields
Field[] fields;

Stores the list of items to be displayed.

height
int height;

Height of this item.

opIndex
Field opIndex(size_t index)

Accesses fields like an array.

opIndexAssign
Field opIndexAssign(Field value, size_t index)

Accesses fields like an array.

length
size_t length()

Returns the amount of fields in this item.

draw
void draw(ListView parent)

Draws the ListViewItem. Draw parameters are supplied via a nested class found in ListView.

Meta