skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class ColumnGroupRowLayout

Inheritance
System.Object
TableViewRowLayoutBase
ColumnGroupRowLayout
Inherited Members
TableViewRowLayoutBase.GetColumnWidth(GridViewColumn)
TableViewRowLayoutBase.ColumnIsVisible(GridViewColumn)
TableViewRowLayoutBase.SetFirstDataColumn(GridViewDataColumn)
TableViewRowLayoutBase.SetLastDataColumn(GridViewDataColumn)
TableViewRowLayoutBase.ViewTemplate
TableViewRowLayoutBase.IgnoreColumnVisibility
TableViewRowLayoutBase.Context
TableViewRowLayoutBase.Owner
TableViewRowLayoutBase.GroupRowDesiredSize
TableViewRowLayoutBase.RenderColumns
TableViewRowLayoutBase.FirstDataColumn
TableViewRowLayoutBase.LastDataColumn
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll

Syntax

public class ColumnGroupRowLayout : TableViewRowLayoutBase, IGridRowLayout, IDisposable

Constructors

ColumnGroupRowLayout(ColumnGroupsViewDefinition)

Initializes a new instance of the ColumnGroupRowLayout class.

Declaration
public ColumnGroupRowLayout(ColumnGroupsViewDefinition viewDefinition)
Parameters
ColumnGroupsViewDefinition viewDefinition

The view definition.

Properties

ColumnsHeight

Gets the height of the columns.

Declaration
public int ColumnsHeight { get; }
Property Value
System.Int32

The height of the columns.

DesiredSize

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

Declaration
public override SizeF DesiredSize { get; }
Property Value
System.Drawing.SizeF

Overrides
TableViewRowLayoutBase.DesiredSize

GroupColumns

Gets the group columns.

Declaration
public Dictionary<GridViewColumnGroup, GridViewGroupColumn> GroupColumns { get; }
Property Value
System.Collections.Generic.Dictionary<GridViewColumnGroup, GridViewGroupColumn>

The group columns.

GroupsHeight

Gets the height of the groups.

Declaration
public int GroupsHeight { get; }
Property Value
System.Int32

The height of the groups.

ScrollableColumns

Gets the scrollable columns

Declaration
public override IList<GridViewColumn> ScrollableColumns { get; }
Property Value
System.Collections.Generic.IList<GridViewColumn>

Overrides
TableViewRowLayoutBase.ScrollableColumns

ShowEmptyGroups

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

Declaration
public bool ShowEmptyGroups { get; set; }
Property Value
System.Boolean

The show empty groups.

SystemColumns

Gets the system columns.

Declaration
public List<GridViewColumn> SystemColumns { get; }
Property Value
System.Collections.Generic.List<GridViewColumn>

The system columns.

ViewDefinition

Gets the view definition.

Declaration
public ColumnGroupsViewDefinition ViewDefinition { get; }
Property Value
ColumnGroupsViewDefinition

The view definition.

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
TableViewRowLayoutBase.ArrangeCell(RectangleF, GridCellElement)

BeginAutoSizeRowArrange(RadElementCollection)

Begins the auto size row arrange.

Declaration
public void BeginAutoSizeRowArrange(RadElementCollection cells)
Parameters
RadElementCollection cells

The cells.

Dispose()

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

Declaration
public override void Dispose()
Overrides
TableViewRowLayoutBase.Dispose()

EndAutoSizeRowArrange()

Ends the auto size row arrange.

Declaration
public void EndAutoSizeRowArrange()

EndColumnResize()

Finishes the resizing of a column

Declaration
public override void EndColumnResize()
Overrides
TableViewRowLayoutBase.EndColumnResize()

EnsureColumnsLayout()

Declaration
public override void EnsureColumnsLayout()
Overrides
TableViewRowLayoutBase.EnsureColumnsLayout()

GetColumnData(GridViewColumn)

Gets the column data.

Declaration
public ColumnGroupsCellArrangeInfo GetColumnData(GridViewColumn column)
Parameters
GridViewColumn column

The column.

Returns
ColumnGroupsCellArrangeInfo

GetColumnOffset(GridViewColumn)

Gets the column offset.

Declaration
public override int GetColumnOffset(GridViewColumn column)
Parameters
GridViewColumn column

The column.

Returns
System.Int32

Overrides
TableViewRowLayoutBase.GetColumnOffset(GridViewColumn)

GetCorrectedColumnBounds(GridViewRowInfo, GridViewColumn, Boolean, RectangleF)

Gets the corrected column bounds.

Declaration
public RectangleF GetCorrectedColumnBounds(GridViewRowInfo row, GridViewColumn column, bool rightToLeft, RectangleF clientRect)
Parameters
GridViewRowInfo row

The row.

GridViewColumn column

The column.

System.Boolean rightToLeft

The right to left.

System.Drawing.RectangleF clientRect

The client rect.

Returns
System.Drawing.RectangleF

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 successful.

Overrides
TableViewRowLayoutBase.GetRowHeight(GridViewRowInfo)

Initialize(GridTableElement)

Initializes the IGridRowLayout with the specified table element.

Declaration
public override void Initialize(GridTableElement tableElement)
Parameters
GridTableElement tableElement

The GridTableElement to associate with this object

Overrides
TableViewRowLayoutBase.Initialize(GridTableElement)

InvalidateLayout()

Invalidates the row layout

Declaration
public override void InvalidateLayout()
Overrides
TableViewRowLayoutBase.InvalidateLayout()

InvalidateRenderColumns()

Invalidates the RenderColumns collection

Declaration
public override void InvalidateRenderColumns()
Overrides
TableViewRowLayoutBase.InvalidateRenderColumns()

IsColumnVisible(GridViewColumn, RectangleF)

Determines whether the specified column is visible.

Declaration
public virtual bool IsColumnVisible(GridViewColumn column, RectangleF viewRect)
Parameters
GridViewColumn column

The column.

System.Drawing.RectangleF viewRect

The view rect.

Returns
System.Boolean

MeasureAutoSizeRow(RadElementCollection)

Measures the auto size row.

Declaration
public float MeasureAutoSizeRow(RadElementCollection cells)
Parameters
RadElementCollection cells

The cells.

Returns
System.Single

MeasurePinnedColumns(PinnedColumnTraverser)

Measures the pinned columns.

Declaration
public override SizeF MeasurePinnedColumns(PinnedColumnTraverser dataProvider)
Parameters
PinnedColumnTraverser dataProvider

The data provider.

Returns
System.Drawing.SizeF

Overrides
TableViewRowLayoutBase.MeasurePinnedColumns(PinnedColumnTraverser)

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
TableViewRowLayoutBase.MeasureRow(SizeF)

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
TableViewRowLayoutBase.ResizeColumn(Int32)

SetBestFitWidth(GridViewColumn, Single)

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

Declaration
public void SetBestFitWidth(GridViewColumn column, float desiredWidth)
Parameters
GridViewColumn column

The column.

System.Single desiredWidth

Width of the desired.

StartColumnResize(GridViewColumn)

Starts resizing of a column from the UI

Declaration
public override void StartColumnResize(GridViewColumn column)
Parameters
GridViewColumn column

The GridViewColumn to resize

Overrides
TableViewRowLayoutBase.StartColumnResize(GridViewColumn)

Extension Methods

SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.