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

Represents a collection of SectionColumn instances.

Definition

Namespace:Telerik.Windows.Documents.Model

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

C#
public class SectionColumnCollection : IEnumerable<SectionColumn>, IEnumerable

Inheritance: objectSectionColumnCollection

Implements: IEnumerableIEnumerable<SectionColumn>

Constructors

Initializes a new instance of the SectionColumnCollection class without columns.

C#
public SectionColumnCollection()

Initializes a new instance of the SectionColumnCollection class.

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

C#
public SectionColumnCollection(IEnumerable<SectionColumn> sectionColumns, bool hasSeparator = false)
Parameters:sectionColumnsIEnumerable<SectionColumn>

The section columns.

hasSeparatorbool

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

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

C#
public SectionColumnCollection(int equalColumnsCount, double columnSpacing = 48, bool hasSeparator = false)
Parameters:equalColumnsCountint

The number of equally sized columns.

columnSpacingdouble

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

hasSeparatorbool

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

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

C#
public SectionColumnCollection(int equalColumnsCount)
Parameters:equalColumnsCountint

The number of equally sized columns.

Methods

Gets the enumerator.

C#
public IEnumerator<SectionColumn> GetEnumerator()
Returns:

IEnumerator<SectionColumn>

Implements: IEnumerable<SectionColumn>.GetEnumerator()