ClassHtmlViewRowLayout
Represents the row layout in the HtmlViewDefinition.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class HtmlViewRowLayout : TableViewRowLayoutBase, IGridRowLayout, IDisposable
Inheritance: objectTableViewRowLayoutBaseHtmlViewRowLayout
Implements:
Inherited Members
Constructors
HtmlViewRowLayout(HtmlViewDefinition)
Initializes a new instance of the HtmlViewRowLayout class.
Declaration
public HtmlViewRowLayout(HtmlViewDefinition viewDefinition)
Parameters
viewDefinition
The view definition.
Properties
DesiredSize
Gets the desired row size.
Declaration
public override SizeF DesiredSize { get; }
Property Value
Overrides
RowTemplate
Gets the row template.
Declaration
public RowTemplate RowTemplate { get; }
Property Value
The row template.
ScrollableColumns
Gets the scrollable columns
Declaration
public override IList<GridViewColumn> ScrollableColumns { get; }
Property Value
IList<GridViewColumn>
Overrides
Methods
ArrangeCell(RectangleF, GridCellElement)
Arranges the cells in the row.
Declaration
public override RectangleF ArrangeCell(RectangleF clientRect, GridCellElement cell)
Parameters
clientRect
The size that is available for the specified row.
cell
The GridRowElement to arrange.
Returns
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
column
The column.
Returns
GetColumnOffset(GridViewColumn)
Gets the column offset.
Declaration
public override int GetColumnOffset(GridViewColumn column)
Parameters
column
The column.
Returns
Overrides
GetRowHeight(GridViewRowInfo)
Determines the actual row height.
Declaration
public override int GetRowHeight(GridViewRowInfo rowInfo)
Parameters
rowInfo
The desired GridViewRowInfo.
Returns
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.
ResizeColumn(int)
Changes the size of an already chosen column by using the specified delta
Declaration
public override void ResizeColumn(int delta)
Parameters
delta
Overrides
StartColumnResize(GridViewColumn)
Starts resizing of a column from the UI
Declaration
public override void StartColumnResize(GridViewColumn column)
Parameters
column
The GridViewColumn to resize
Overrides