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

This interface defines methods to manage the row layout in GridTableElement.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

C#
public interface IGridRowLayout : IDisposable

Derived Classes: ColumnGroupRowLayoutHtmlViewRowLayoutTableViewRowLayoutTableViewRowLayoutBase

Inherited Members IDisposable.Dispose()

Properties

Gets the desired row size.

C#
SizeF DesiredSize { get; }

Gets the first data column.

C#
GridViewDataColumn FirstDataColumn { get; }

Gets the desired row size for group rows.

C#
SizeF GroupRowDesiredSize { get; }

Gets the last data column.

C#
GridViewDataColumn LastDataColumn { get; }

Gets or sets the GridViewTemplate that owns this view definition.

C#
GridTableElement Owner { get; }

Gets the render columns.

C#
IList<GridViewColumn> RenderColumns { get; }

Gets the scrollable columns

C#
IList<GridViewColumn> ScrollableColumns { get; }

Methods

Arranges the cells in the row.

C#
RectangleF ArrangeCell(RectangleF clientRect, GridCellElement cell)
Parameters:clientRectRectangleF

The size that is available for the specified row.

cellGridCellElement

The GridRowElement to arrange.

Returns:

RectangleF

The arranged rectangle.

Finishes the resizing of a column

C#
void EndColumnResize()

Ensures that the row layout is calculated

C#
void EnsureColumnsLayout()

Determines the actual row height.

C#
int GetRowHeight(GridViewRowInfo rowInfo)
Parameters:rowInfoGridViewRowInfo

The desired GridViewRowInfo.

Returns:

int

The actual row height, if successfull.

Initializes the IGridRowLayout with the specified table element.

C#
void Initialize(GridTableElement tableElement)
Parameters:tableElementGridTableElement

The GridTableElement to associate with this object

Invalidates the row layout

C#
void InvalidateLayout()

Invalidates the RenderColumns collection

C#
void InvalidateRenderColumns()

Measures the pinned columns.

C#
SizeF MeasurePinnedColumns(PinnedColumnTraverser dataProvider)
Parameters:dataProviderPinnedColumnTraverser

The data provider.

Returns:

SizeF

Measures the space required by the cells.

C#
SizeF MeasureRow(SizeF availableSize)
Parameters:availableSizeSizeF

The size that is available for grid rows.

Returns:

SizeF

The size required by the row element.

Changes the size of an already choosen column by using the specified delta

C#
void ResizeColumn(int delta)
Parameters:deltaint

Starts resizing of a column from the UI

C#
void StartColumnResize(GridViewColumn column)
Parameters:columnGridViewColumn

The GridViewColumn to resize