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

Represents a helper for the column layout

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

C#
public class ColumnLayoutHelper

Inheritance: objectColumnLayoutHelper

Constructors

Initializes a new instance of the ColumnLayoutHelper class.

C#
public ColumnLayoutHelper(TableViewRowLayout layout)
Parameters:layoutTableViewRowLayout

The layout.

Properties

Gets the arrange infos.

C#
public Dictionary<int, TableViewCellArrangeInfo> ArrangeInfos { get; }
Property Value:

The arrange infos.

Gets the layout.

C#
public TableViewRowLayout Layout { get; }
Property Value:

The layout.

Gets the left pinned columns.

C#
public List<TableViewCellArrangeInfo> LeftPinnedColumns { get; }
Property Value:

The left pinned columns.

Gets the right pinned columns.

C#
public List<TableViewCellArrangeInfo> RightPinnedColumns { get; }
Property Value:

The right pinned columns.

Gets the scrollable columns.

C#
public IList<GridViewColumn> ScrollableColumns { get; }
Property Value:

The scrollable columns.

Methods

Calculates the width of the columns.

C#
public virtual int CalculateColumnsWidth(SizeF availableSize)
Parameters:availableSizeSizeF

Size of the available.

Returns:

int

Ends the column resize.

C#
public virtual void EndColumnResize()

Gets the arrange info.

C#
public virtual TableViewCellArrangeInfo GetArrangeInfo(GridViewColumn column)
Parameters:columnGridViewColumn

The column.

Returns:

TableViewCellArrangeInfo

Gets the cell arrange rectangle.

C#
public virtual RectangleF GetCellArrangeRect(RectangleF client, GridCellElement cell)
Parameters:clientRectangleF

The client.

cellGridCellElement

The cell.

Returns:

RectangleF

Inits the column.

C#
protected virtual TableViewCellArrangeInfo InitColumn(GridViewColumn column)
Parameters:columnGridViewColumn

The column.

Returns:

TableViewCellArrangeInfo

Initializes this instance.

C#
public virtual void Initialize()

Processes the columns collection.

C#
protected virtual int ProcessColumnsCollection(List<TableViewCellArrangeInfo> columns)
Parameters:columnsList<TableViewCellArrangeInfo>

The columns.

Returns:

int

Resets this instance.

C#
protected virtual void Reset()

Resizes the column.

C#
public virtual void ResizeColumn(int delta)
Parameters:deltaint

The delta.

Starts the column resize.

C#
public virtual void StartColumnResize(GridViewColumn column)
Parameters:columnGridViewColumn

The column.