InterfaceIGridRowLayout
This interface defines methods to manage the row layout in GridTableElement.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public interface IGridRowLayout : IDisposable
Inherited Members
Properties
DesiredSize
Gets the desired row size.
FirstDataColumn
Gets the first data column.
Declaration
GridViewDataColumn FirstDataColumn { get; }
Property Value
GroupRowDesiredSize
Gets the desired row size for group rows.
LastDataColumn
Gets the last data column.
Declaration
GridViewDataColumn LastDataColumn { get; }
Property Value
Owner
Gets or sets the GridViewTemplate that owns this view definition.
RenderColumns
Gets the render columns.
Declaration
IList<GridViewColumn> RenderColumns { get; }
Property Value
IList<GridViewColumn>
ScrollableColumns
Gets the scrollable columns
Declaration
IList<GridViewColumn> ScrollableColumns { get; }
Property Value
IList<GridViewColumn>
Methods
ArrangeCell(RectangleF, GridCellElement)
Arranges the cells in the row.
Declaration
RectangleF ArrangeCell(RectangleF clientRect, GridCellElement cell)
Parameters
clientRect
The size that is available for the specified row.
cell
The GridRowElement to arrange.
Returns
The arranged rectangle.
EndColumnResize()
Finishes the resizing of a column
Declaration
void EndColumnResize()
EnsureColumnsLayout()
Ensures that the row layout is calculated
Declaration
void EnsureColumnsLayout()
GetRowHeight(GridViewRowInfo)
Determines the actual row height.
Declaration
int GetRowHeight(GridViewRowInfo rowInfo)
Parameters
rowInfo
The desired GridViewRowInfo.
Returns
The actual row height, if successfull.
Initialize(GridTableElement)
Initializes the IGridRowLayout with the specified table element.
Declaration
void Initialize(GridTableElement tableElement)
Parameters
tableElement
The GridTableElement to associate with this object
InvalidateRenderColumns()
Invalidates the RenderColumns collection
Declaration
void InvalidateRenderColumns()
MeasurePinnedColumns(PinnedColumnTraverser)
Measures the pinned columns.
Declaration
SizeF MeasurePinnedColumns(PinnedColumnTraverser dataProvider)
Parameters
dataProvider
The data provider.
Returns
MeasureRow(SizeF)
Measures the space required by the cells.
ResizeColumn(int)
Changes the size of an already choosen column by using the specified delta
StartColumnResize(GridViewColumn)
Starts resizing of a column from the UI
Declaration
void StartColumnResize(GridViewColumn column)
Parameters
column
The GridViewColumn to resize