ListView.setHeaderStyle

Overview | Methods | This Package | All Packages

ListView.setHeaderStyle

Sets a value indicating whether column headers are visible in Report view and, if they are visible, whether they act like buttons, allowing users to click them to carry out actions.

Syntax

public void setHeaderStyle( int value )

Parameters

value

An integer that indicates whether column headers are visible in Report view and, if they are visible, whether they act like buttons. If column headers act like buttons, users can click them to carry out an action, such as sorting the items in the list view control using the items in the clicked column as a key. Possible values are constants defined in the ColumnHeaderStyle class. The default value is ColumnHeaderStyle.CLICKABLE.

Remarks

Setting the value of the allowColumnReorder property has no effect unless the control is in Report view.

See Also   getHeaderStyle