Table of Contents

Class ListViewColumn

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Represents a column in a ListView control to be used in the DetailsView.

public class ListViewColumn : BaseControlItem, IBaseControlItem, IBaseObject
Inheritance
ListViewColumn
Implements

Remarks

A column is an item in a ListView control that contains column title text in the DetailsView. ListViewColumn objects can be added to a ListView using the Add(T) method of the collection returned by Columns property.

Constructors

ListViewColumn()

Initializes a new instance of the ListViewColumn class with default values.

ListViewColumn(string)

Initializes a new instance of the ListViewColumn class with the specified column title.

Properties

Index

Gets the location with the ListView control's Columns of this column.

ListView

Gets the ListView control the ListViewColumn is located in.

Title

Gets or sets the title text displayed in the column header.

Width

Gets or sets the fixed width of the column, in device-independent units.

WidthMode

Gets or set the width sizing behavior for this column.

Methods

Assign(ListViewColumn)

Assigns properties from another ListViewColumn.

Clone()

Creates copy of this ListViewColumn.

InternalSetListViewAndIndex(ListView?, int?)

Sets owner control and column index. Do not call directly.

ToString()

Returns a string that represents the current object.