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

Definition

Constructors

Initializes a new instance of the ColumnGroupRowLayout class.

C#
public ColumnGroupRowLayout(ColumnGroupsViewDefinition viewDefinition)
Parameters:viewDefinitionColumnGroupsViewDefinition

The view definition.

Properties

Gets the height of the columns.

C#
public int ColumnsHeight { get; }
Property Value:

The height of the columns.

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

C#
public override SizeF DesiredSize { get; }

Overrides: TableViewRowLayoutBase.DesiredSize

Gets the group columns.

C#
public Dictionary<GridViewColumnGroup, GridViewGroupColumn> GroupColumns { get; }
Property Value:

The group columns.

Gets the height of the groups.

C#
public int GroupsHeight { get; }
Property Value:

The height of the groups.

Gets the scrollable columns

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

Overrides: TableViewRowLayoutBase.ScrollableColumns

Gets or sets a value indicating whether to show the empty groups.

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

The show empty groups.

Gets the system columns.

C#
public List<GridViewColumn> SystemColumns { get; }
Property Value:

The system columns.

Gets the view definition.

C#
public ColumnGroupsViewDefinition ViewDefinition { get; }
Property Value:

The view definition.

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)

Begins the auto size row arrange.

C#
public void BeginAutoSizeRowArrange(RadElementCollection cells)
Parameters:cellsRadElementCollection

The cells.

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

C#
public override void Dispose()

Overrides: TableViewRowLayoutBase.Dispose()

Ends the auto size row arrange.

C#
public void EndAutoSizeRowArrange()

Finishes the resizing of a column

C#
public override void EndColumnResize()

Overrides: TableViewRowLayoutBase.EndColumnResize()

Ensures that the row layout is calculated

C#
public override void EnsureColumnsLayout()

Overrides: TableViewRowLayoutBase.EnsureColumnsLayout()

Gets the column data.

C#
public ColumnGroupsCellArrangeInfo GetColumnData(GridViewColumn column)
Parameters:columnGridViewColumn

The column.

Returns:

ColumnGroupsCellArrangeInfo

Gets the column offset.

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

The column.

Returns:

int

Overrides: TableViewRowLayoutBase.GetColumnOffset(GridViewColumn)

Gets the corrected column bounds.

C#
public RectangleF GetCorrectedColumnBounds(GridViewRowInfo row, GridViewColumn column, bool rightToLeft, RectangleF clientRect)
Parameters:rowGridViewRowInfo

The row.

columnGridViewColumn

The column.

rightToLeftbool

The right to left.

clientRectRectangleF

The client rect.

Returns:

RectangleF

Determines the actual row height.

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

The desired GridViewRowInfo.

Returns:

int

The actual row height, if successful.

Overrides: TableViewRowLayoutBase.GetRowHeight(GridViewRowInfo)

Initializes the IGridRowLayout with the specified table element.

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

The GridTableElement to associate with this object

Overrides: TableViewRowLayoutBase.Initialize(GridTableElement)

Invalidates the row layout

C#
public override void InvalidateLayout()

Overrides: TableViewRowLayoutBase.InvalidateLayout()

Invalidates the RenderColumns collection

C#
public override void InvalidateRenderColumns()

Overrides: TableViewRowLayoutBase.InvalidateRenderColumns()

Determines whether the specified column is visible.

C#
public virtual bool IsColumnVisible(GridViewColumn column, RectangleF viewRect)
Parameters:columnGridViewColumn

The column.

viewRectRectangleF

The view rect.

Returns:

bool

Measures the auto size row.

C#
public float MeasureAutoSizeRow(RadElementCollection cells)
Parameters:cellsRadElementCollection

The cells.

Returns:

float

Measures the pinned columns.

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

The data provider.

Returns:

SizeF

Overrides: TableViewRowLayoutBase.MeasurePinnedColumns(PinnedColumnTraverser)

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)

Sets the width of the columns to display the whole content.

C#
public void SetBestFitWidth(GridViewColumn column, float desiredWidth)
Parameters:columnGridViewColumn

The column.

desiredWidthfloat

Width of the desired.

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)