Interface
IGridRowLayout

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

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

cs-api-definition
public interface IGridRowLayout : IDisposable

Inherited Members IDisposable.Dispose()

Properties

DesiredSize

Gets the desired row size.

Declaration

cs-api-definition
SizeF DesiredSize { get; }

Property Value

SizeF

FirstDataColumn

Gets the first data column.

Declaration

cs-api-definition
GridViewDataColumn FirstDataColumn { get; }

Property Value

GridViewDataColumn

GroupRowDesiredSize

Gets the desired row size for group rows.

Declaration

cs-api-definition
SizeF GroupRowDesiredSize { get; }

Property Value

SizeF

LastDataColumn

Gets the last data column.

Declaration

cs-api-definition
GridViewDataColumn LastDataColumn { get; }

Property Value

GridViewDataColumn

Owner

Gets or sets the GridViewTemplate that owns this view definition.

Declaration

cs-api-definition
GridTableElement Owner { get; }

Property Value

GridTableElement

RenderColumns

Gets the render columns.

Declaration

cs-api-definition
IList<GridViewColumn> RenderColumns { get; }

Property Value

IList<GridViewColumn>

ScrollableColumns

Gets the scrollable columns

Declaration

cs-api-definition
IList<GridViewColumn> ScrollableColumns { get; }

Property Value

IList<GridViewColumn>

Methods

ArrangeCell(RectangleF, GridCellElement)

Arranges the cells in the row.

Declaration

cs-api-definition
RectangleF ArrangeCell(RectangleF clientRect, GridCellElement cell)

Parameters

clientRect

RectangleF

The size that is available for the specified row.

cell

GridCellElement

The GridRowElement to arrange.

Returns

RectangleF

The arranged rectangle.

EndColumnResize()

Finishes the resizing of a column

Declaration

cs-api-definition
void EndColumnResize()

EnsureColumnsLayout()

Ensures that the row layout is calculated

Declaration

cs-api-definition
void EnsureColumnsLayout()

GetRowHeight(GridViewRowInfo)

Determines the actual row height.

Declaration

cs-api-definition
int GetRowHeight(GridViewRowInfo rowInfo)

Parameters

rowInfo

GridViewRowInfo

The desired GridViewRowInfo.

Returns

int

The actual row height, if successfull.

Initialize(GridTableElement)

Initializes the IGridRowLayout with the specified table element.

Declaration

cs-api-definition
void Initialize(GridTableElement tableElement)

Parameters

tableElement

GridTableElement

The GridTableElement to associate with this object

InvalidateLayout()

Invalidates the row layout

Declaration

cs-api-definition
void InvalidateLayout()

InvalidateRenderColumns()

Invalidates the RenderColumns collection

Declaration

cs-api-definition
void InvalidateRenderColumns()

MeasurePinnedColumns(PinnedColumnTraverser)

Measures the pinned columns.

Declaration

cs-api-definition
SizeF MeasurePinnedColumns(PinnedColumnTraverser dataProvider)

Parameters

dataProvider

PinnedColumnTraverser

The data provider.

Returns

SizeF

MeasureRow(SizeF)

Measures the space required by the cells.

Declaration

cs-api-definition
SizeF MeasureRow(SizeF availableSize)

Parameters

availableSize

SizeF

The size that is available for grid rows.

Returns

SizeF

The size required by the row element.

ResizeColumn(int)

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

Declaration

cs-api-definition
void ResizeColumn(int delta)

Parameters

delta

int

StartColumnResize(GridViewColumn)

Starts resizing of a column from the UI

Declaration

cs-api-definition
void StartColumnResize(GridViewColumn column)

Parameters

column

GridViewColumn

The GridViewColumn to resize