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

Represents the table row layout.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

C#
public abstract class TableViewRowLayoutBase : IGridRowLayout, IDisposable

Inheritance: objectTableViewRowLayoutBase

Derived Classes: ColumnGroupRowLayoutHtmlViewRowLayoutTableViewRowLayout

Implements: IDisposableIGridRowLayout

Constructors

C#
protected TableViewRowLayoutBase()

Properties

Gets or sets the context.

C#
public GridLayoutContext Context { get; set; }
Property Value:

The context.

Gets the desired size for the row when using the specified layout.

C#
public abstract SizeF DesiredSize { get; }

Implements: IGridRowLayout.DesiredSize

Gets the first data column.

C#
public GridViewDataColumn FirstDataColumn { get; }

Implements: IGridRowLayout.FirstDataColumn

Gets the desired size for the group row when using the specified layout.

C#
public virtual SizeF GroupRowDesiredSize { get; }

Implements: IGridRowLayout.GroupRowDesiredSize

Gets or sets whether to ignore the column's visibility.

C#
public bool IgnoreColumnVisibility { get; set; }
Property Value:

The ignore column visibility.

Gets the last data column.

C#
public GridViewDataColumn LastDataColumn { get; }

Implements: IGridRowLayout.LastDataColumn

Gets or sets the GridViewTemplate that owns this view definition.

C#
public GridTableElement Owner { get; }

Implements: IGridRowLayout.Owner

Gets all columns currently visible on screen. Gets a generic list containing all GridViewColumn objects that are currently visible.

C#
public virtual IList<GridViewColumn> RenderColumns { get; }

Implements: IGridRowLayout.RenderColumns

Gets the scrollable columns

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

Implements: IGridRowLayout.ScrollableColumns

Gets the view template.

C#
public GridViewTemplate ViewTemplate { get; }
Property Value:

The view template.

Methods

Arranges the cells in the row.

C#
public abstract 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.

Implements: IGridRowLayout.ArrangeCell(RectangleF, GridCellElement)

Returns whether the column the is visible.

C#
public virtual bool ColumnIsVisible(GridViewColumn column)
Parameters:columnGridViewColumn

The column.

Returns:

bool

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

C#
public virtual void Dispose()

Implements: IDisposable.Dispose()

Finishes the resizing of a column

C#
public abstract void EndColumnResize()

Implements: IGridRowLayout.EndColumnResize()

Ensures that the row layout is calculated

C#
public abstract void EnsureColumnsLayout()

Implements: IGridRowLayout.EnsureColumnsLayout()

Gets the column offset.

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

The column.

Returns:

int

Gets the actual column width

C#
public virtual int GetColumnWidth(GridViewColumn column)
Parameters:columnGridViewColumn

An instance of GridViewColumn.

Returns:

int

The actual column width, when successful.

Determines the actual row height.

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

The desired GridViewRowInfo.

Returns:

int

The actual row height, if successful.

Implements: IGridRowLayout.GetRowHeight(GridViewRowInfo)

Initializes the IGridRowLayout with the specified table element.

C#
public virtual void Initialize(GridTableElement tableElement)
Parameters:tableElementGridTableElement

The GridTableElement to associate with this object

Implements: IGridRowLayout.Initialize(GridTableElement)

Invalidates the row layout

C#
public abstract void InvalidateLayout()

Implements: IGridRowLayout.InvalidateLayout()

Invalidates the RenderColumns collection

C#
public virtual void InvalidateRenderColumns()

Implements: IGridRowLayout.InvalidateRenderColumns()

Measures the pinned columns.

C#
public virtual SizeF MeasurePinnedColumns(PinnedColumnTraverser dataProvider)
Parameters:dataProviderPinnedColumnTraverser

The data provider.

Returns:

SizeF

Implements: IGridRowLayout.MeasurePinnedColumns(PinnedColumnTraverser)

Measures the space required by the cells.

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

The size that is available for grid rows.

Returns:

SizeF

The size required by the row element.

Implements: IGridRowLayout.MeasureRow(SizeF)

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

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

Implements: IGridRowLayout.ResizeColumn(int)

Sets the first data column.

C#
protected void SetFirstDataColumn(GridViewDataColumn column)
Parameters:columnGridViewDataColumn

The column.

Sets the last data column.

C#
protected void SetLastDataColumn(GridViewDataColumn column)
Parameters:columnGridViewDataColumn

The column.

Starts resizing of a column from the UI

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

The GridViewColumn to resize

Implements: IGridRowLayout.StartColumnResize(GridViewColumn)