Interface IGridRowLayout
This interface defines methods to manage the row layout in Grid
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.
|
FirstDataColumn
Gets the first data column.
Declaration
GridViewDataColumn FirstDataColumn { get; }
Property Value
GroupRowDesiredSize
Gets the desired row size for group rows.
Declaration
SizeF GroupRowDesiredSize { get; }
Property Value
System.
|
LastDataColumn
Gets the last data column.
Declaration
GridViewDataColumn LastDataColumn { get; }
Property Value
Owner
Gets or sets the GridViewTemplate that owns this view definition.
Declaration
GridTableElement Owner { get; }
Property Value
RenderColumns
Gets the render columns.
Declaration
IList<GridViewColumn> RenderColumns { get; }
Property Value
System.
|
ScrollableColumns
Gets the scrollable columns
Declaration
IList<GridViewColumn> ScrollableColumns { get; }
Property Value
System.
|
Methods
ArrangeCell(RectangleF, GridCellElement)
Arranges the cells in the row.
Declaration
RectangleF ArrangeCell(RectangleF clientRect, GridCellElement cell)
Parameters
System. The size that is available for the specified row. |
Grid The Grid |
Returns
System. 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
Grid The desired Grid |
Returns
System. The actual row height, if successfull. |
Initialize(GridTableElement)
Initializes the IGridRowLayout with the specified table element.
Declaration
void Initialize(GridTableElement tableElement)
Parameters
Grid The Grid |
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
Pinned The data provider. |
Returns
System.
|
MeasureRow(SizeF)
Measures the space required by the cells.
Declaration
SizeF MeasureRow(SizeF availableSize)
Parameters
System. The size that is available for grid rows. |
Returns
System. 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.
|
StartColumnResize(GridViewColumn)
Starts resizing of a column from the UI
Declaration
void StartColumnResize(GridViewColumn column)
Parameters
Grid The Grid |