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