Class ColumnLayoutHelper
Represents a helper for the column layout
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class ColumnLayoutHelper
Constructors
ColumnLayoutHelper(TableViewRowLayout)
Initializes a new instance of the ColumnLayoutHelper class.
Declaration
public ColumnLayoutHelper(TableViewRowLayout layout)
Parameters
TableViewRowLayout
layout
The layout. |
Properties
ArrangeInfos
Gets the arrange infos.
Declaration
public Dictionary<int, TableViewCellArrangeInfo> ArrangeInfos { get; }
Property Value
System.Collections.Generic.Dictionary<System.Int32, TableViewCellArrangeInfo>
The arrange infos. |
Layout
Gets the layout.
Declaration
public TableViewRowLayout Layout { get; }
Property Value
TableViewRowLayout
The layout. |
LeftPinnedColumns
Gets the left pinned columns.
Declaration
public List<TableViewCellArrangeInfo> LeftPinnedColumns { get; }
Property Value
System.Collections.Generic.List<TableViewCellArrangeInfo>
The left pinned columns. |
RightPinnedColumns
Gets the right pinned columns.
Declaration
public List<TableViewCellArrangeInfo> RightPinnedColumns { get; }
Property Value
System.Collections.Generic.List<TableViewCellArrangeInfo>
The right pinned columns. |
ScrollableColumns
Gets the scrollable columns.
Declaration
public IList<GridViewColumn> ScrollableColumns { get; }
Property Value
System.Collections.Generic.IList<GridViewColumn>
The scrollable columns. |
Methods
CalculateColumnsWidth(SizeF)
Calculates the width of the columns.
Declaration
public virtual int CalculateColumnsWidth(SizeF availableSize)
Parameters
System.Drawing.SizeF
availableSize
Size of the available. |
Returns
System.Int32
|
EndColumnResize()
Ends the column resize.
Declaration
public virtual void EndColumnResize()
GetArrangeInfo(GridViewColumn)
Gets the arrange info.
Declaration
public virtual TableViewCellArrangeInfo GetArrangeInfo(GridViewColumn column)
Parameters
GridViewColumn
column
The column. |
Returns
TableViewCellArrangeInfo
|
GetCellArrangeRect(RectangleF, GridCellElement)
Gets the cell arrange rectangle.
Declaration
public virtual RectangleF GetCellArrangeRect(RectangleF client, GridCellElement cell)
Parameters
System.Drawing.RectangleF
client
The client. |
GridCellElement
cell
The cell. |
Returns
System.Drawing.RectangleF
|
InitColumn(GridViewColumn)
Inits the column.
Declaration
protected virtual TableViewCellArrangeInfo InitColumn(GridViewColumn column)
Parameters
GridViewColumn
column
The column. |
Returns
TableViewCellArrangeInfo
|
Initialize()
Initializes this instance.
Declaration
public virtual void Initialize()
ProcessColumnsCollection(List<TableViewCellArrangeInfo>)
Processes the columns collection.
Declaration
protected virtual int ProcessColumnsCollection(List<TableViewCellArrangeInfo> columns)
Parameters
System.Collections.Generic.List<TableViewCellArrangeInfo>
columns
The columns. |
Returns
System.Int32
|
Reset()
Resets this instance.
Declaration
protected virtual void Reset()
ResizeColumn(Int32)
Resizes the column.
Declaration
public virtual void ResizeColumn(int delta)
Parameters
System.Int32
delta
The delta. |
StartColumnResize(GridViewColumn)
Starts the column resize.
Declaration
public virtual void StartColumnResize(GridViewColumn column)
Parameters
GridViewColumn
column
The column. |