Class
SectionColumnCollection

Represents a collection of SectionColumn instances.

Definition

Namespace:Telerik.WinForms.Documents.Model

Assembly:Telerik.WinControls.RichTextEditor.dll

Syntax:

cs-api-definition
public class SectionColumnCollection : IEnumerable

Inheritance: objectSectionColumnCollection

Implements: IEnumerable

Constructors

SectionColumnCollection()

Initializes a new instance of the SectionColumnCollection class without columns.

Declaration

cs-api-definition
public SectionColumnCollection()

SectionColumnCollection(IEnumerable<SectionColumn>, bool)

Initializes a new instance of the SectionColumnCollection class.

The given collection of SectionColumn elements will be added in this collection.

Declaration

cs-api-definition
public SectionColumnCollection(IEnumerable<SectionColumn> sectionColumns, bool hasSeparator = false)

Parameters

sectionColumns

IEnumerable<SectionColumn>

The section columns.

hasSeparator

bool

If set to true a separator will be added between the columns.

SectionColumnCollection(int)

Initializes a new instance of the SectionColumnCollection class with equally sized columns and default spacing between them (48 DIPs).

Declaration

cs-api-definition
public SectionColumnCollection(int equalColumnsCount)

Parameters

equalColumnsCount

int

The number of equally sized columns.

SectionColumnCollection(int, double, bool)

Initializes a new instance of the SectionColumnCollection class with equally sized columns.

Declaration

cs-api-definition
public SectionColumnCollection(int equalColumnsCount, double columnSpacing = 48, bool hasSeparator = false)

Parameters

equalColumnsCount

int

The number of equally sized columns.

columnSpacing

double

The spacing between the equally sized columns. The default value is 48 DIPs.

hasSeparator

bool

If set to true a separator will be added between the equally sized columns. The default value is false.

Methods

GetEnumerator()

Gets the enumerator.

Declaration

cs-api-definition
public IEnumerator<SectionColumn> GetEnumerator()

Returns

IEnumerator<SectionColumn>