New to Telerik UI for WinFormsStart a free 30-day trial

Represents a collection of column collections.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

C#
public class PrintPagesCollection : IEnumerable

Inheritance: objectPrintPagesCollection

Implements: IEnumerable

Constructors

Initializes a new instance of the PrintPagesCollection class. Each PrintPageColumnsCollection represents a separate page.

C#
public PrintPagesCollection()

Properties

Gets the count of the PrintPageColumnsCollection instances in this collection.

C#
public int Count { get; }
Property Value:

The count.

Gets or sets the PrintPageColumnsCollection at the specified index.

C#
public PrintPageColumnsCollection this[int index] { get; set; }
Parameters:indexint

The index.

Property Value:

The PrintPageColumnsCollection index.

Methods

Adds the specified columns as a new PrintPageColumnsCollection. The PrintPageColumnsCollection represents a separate page.

C#
public int Add(params GridViewColumn[] columns)
Parameters:columnsGridViewColumn[]

The columns.

Returns:

int

Clears all PrintPageColumnsCollection instances in this collection.

C#
public void Clear()

Returns an enumerator that iterates through a collection.

C#
public IEnumerator GetEnumerator()
Returns:

IEnumerator

An IEnumerator object that can be used to iterate through the collection.

Implements: IEnumerable.GetEnumerator()

Inserts the specified PrintPageColumnsCollection to the specified index. Each PrintPageColumnsCollection represents a separate page.

C#
public void Insert(int index, params GridViewColumn[] columns)
Parameters:indexint

The index.

columnsGridViewColumn[]

The columns.

Removes the PrintPageColumnsCollection at the specified index.

C#
public void RemoveAt(int index)
Parameters:indexint

The index.