Class HtmlViewRowLayout
Represents the row layout in the HtmlViewDefinition.
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class HtmlViewRowLayout : TableViewRowLayoutBase, IGridRowLayout, IDisposable
Constructors
HtmlViewRowLayout(HtmlViewDefinition)
Initializes a new instance of the HtmlViewRowLayout class.
Declaration
public HtmlViewRowLayout(HtmlViewDefinition viewDefinition)
Parameters
HtmlViewDefinition
viewDefinition
The view definition. |
Properties
DesiredSize
Gets the desired row size.
Declaration
public override SizeF DesiredSize { get; }
Property Value
System.Drawing.SizeF
|
Overrides
RowTemplate
Gets the row template.
Declaration
public RowTemplate RowTemplate { get; }
Property Value
RowTemplate
The row template. |
ScrollableColumns
Gets the scrollable columns
Declaration
public override IList<GridViewColumn> ScrollableColumns { get; }
Property Value
System.Collections.Generic.IList<GridViewColumn>
|
Overrides
Methods
ArrangeCell(RectangleF, GridCellElement)
Arranges the cells in the row.
Declaration
public override 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. |
Overrides
EndColumnResize()
Finishes the resizing of a column
Declaration
public override void EndColumnResize()
Overrides
EnsureColumnsLayout()
Ensures the columns layout.
Declaration
public override void EnsureColumnsLayout()
Overrides
GetArrangeInfo(GridViewColumn)
Gets the arrange info.
Declaration
public HtmlViewCellArrangeInfo GetArrangeInfo(GridViewColumn column)
Parameters
GridViewColumn
column
The column. |
Returns
HtmlViewCellArrangeInfo
|
GetColumnOffset(GridViewColumn)
Gets the column offset.
Declaration
public override int GetColumnOffset(GridViewColumn column)
Parameters
GridViewColumn
column
The column. |
Returns
System.Int32
|
Overrides
GetRowHeight(GridViewRowInfo)
Determines the actual row height.
Declaration
public override int GetRowHeight(GridViewRowInfo rowInfo)
Parameters
GridViewRowInfo
rowInfo
The desired GridViewRowInfo. |
Returns
System.Int32
The actual row height, if successfull. |
Overrides
InvalidateLayout()
Invalidates the row layout
Declaration
public override void InvalidateLayout()
Overrides
InvalidateRenderColumns()
Invalidates the RenderColumns collection
Declaration
public override void InvalidateRenderColumns()
Overrides
MeasureRow(SizeF)
Measures the space required by the cells.
Declaration
public override 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. |
Overrides
ResizeColumn(Int32)
Changes the size of an already chosen column by using the specified delta
Declaration
public override void ResizeColumn(int delta)
Parameters
System.Int32
delta
|
Overrides
StartColumnResize(GridViewColumn)
Starts resizing of a column from the UI
Declaration
public override void StartColumnResize(GridViewColumn column)
Parameters
GridViewColumn
column
The GridViewColumn to resize |