New to Telerik UI for WinFormsStart a free 30-day trial

Represents the row layout in the HtmlViewDefinition.

Definition

Constructors

Initializes a new instance of the HtmlViewRowLayout class.

C#
public HtmlViewRowLayout(HtmlViewDefinition viewDefinition)
Parameters:viewDefinitionHtmlViewDefinition

The view definition.

Properties

Gets the desired row size.

C#
public override SizeF DesiredSize { get; }

Overrides: TableViewRowLayoutBase.DesiredSize

Gets the row template.

C#
public RowTemplate RowTemplate { get; }
Property Value:

The row template.

Gets the scrollable columns

C#
public override IList<GridViewColumn> ScrollableColumns { get; }

Overrides: TableViewRowLayoutBase.ScrollableColumns

Methods

Arranges the cells in the row.

C#
public override RectangleF ArrangeCell(RectangleF clientRect, GridCellElement cell)
Parameters:clientRectRectangleF

The size that is available for the specified row.

cellGridCellElement

The GridRowElement to arrange.

Returns:

RectangleF

The arranged rectangle.

Overrides: TableViewRowLayoutBase.ArrangeCell(RectangleF, GridCellElement)

Finishes the resizing of a column

C#
public override void EndColumnResize()

Overrides: TableViewRowLayoutBase.EndColumnResize()

Ensures the columns layout.

C#
public override void EnsureColumnsLayout()

Overrides: TableViewRowLayoutBase.EnsureColumnsLayout()

Gets the arrange info.

C#
public HtmlViewCellArrangeInfo GetArrangeInfo(GridViewColumn column)
Parameters:columnGridViewColumn

The column.

Returns:

HtmlViewCellArrangeInfo

Gets the column offset.

C#
public override int GetColumnOffset(GridViewColumn column)
Parameters:columnGridViewColumn

The column.

Returns:

int

Overrides: TableViewRowLayoutBase.GetColumnOffset(GridViewColumn)

Determines the actual row height.

C#
public override int GetRowHeight(GridViewRowInfo rowInfo)
Parameters:rowInfoGridViewRowInfo

The desired GridViewRowInfo.

Returns:

int

The actual row height, if successfull.

Overrides: TableViewRowLayoutBase.GetRowHeight(GridViewRowInfo)

Invalidates the row layout

C#
public override void InvalidateLayout()

Overrides: TableViewRowLayoutBase.InvalidateLayout()

Invalidates the RenderColumns collection

C#
public override void InvalidateRenderColumns()

Overrides: TableViewRowLayoutBase.InvalidateRenderColumns()

Measures the space required by the cells.

C#
public override SizeF MeasureRow(SizeF availableSize)
Parameters:availableSizeSizeF

The size that is available for grid rows.

Returns:

SizeF

The size required by the row element.

Overrides: TableViewRowLayoutBase.MeasureRow(SizeF)

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

C#
public override void ResizeColumn(int delta)
Parameters:deltaint

Overrides: TableViewRowLayoutBase.ResizeColumn(int)

Starts resizing of a column from the UI

C#
public override void StartColumnResize(GridViewColumn column)
Parameters:columnGridViewColumn

The GridViewColumn to resize

Overrides: TableViewRowLayoutBase.StartColumnResize(GridViewColumn)