ColumnGroupRowLayout
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class ColumnGroupRowLayout : TableViewRowLayoutBase, IGridRowLayout, IDisposable
Inheritance: objectTableViewRowLayoutBaseColumnGroupRowLayout
Implements:
Inherited Members
Constructors
Initializes a new instance of the ColumnGroupRowLayout class.
public ColumnGroupRowLayout(ColumnGroupsViewDefinition viewDefinition)
The view definition.
Properties
Gets the height of the columns.
public int ColumnsHeight { get; }
The height of the columns.
Gets the desired size for the row when using the specified layout.
public override SizeF DesiredSize { get; }
Overrides:
GroupColumns
Dictionary<GridViewColumnGroup, GridViewGroupColumn>
Gets the group columns.
public Dictionary<GridViewColumnGroup, GridViewGroupColumn> GroupColumns { get; }
The group columns.
Gets the height of the groups.
public int GroupsHeight { get; }
The height of the groups.
Gets the scrollable columns
public override IList<GridViewColumn> ScrollableColumns { get; }
Overrides:
Gets or sets a value indicating whether to show the empty groups.
public bool ShowEmptyGroups { get; set; }
The show empty groups.
Gets the system columns.
public List<GridViewColumn> SystemColumns { get; }
The system columns.
Gets the view definition.
public ColumnGroupsViewDefinition ViewDefinition { get; }
The view definition.
Methods
Arranges the cells in the row.
public override RectangleF ArrangeCell(RectangleF clientRect, GridCellElement cell)
The size that is available for the specified row.
cellGridCellElementThe GridRowElement to arrange.
Returns:The arranged rectangle.
Overrides:
Begins the auto size row arrange.
public void BeginAutoSizeRowArrange(RadElementCollection cells)
The cells.
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public override void Dispose()
Overrides:
Ends the auto size row arrange.
public void EndAutoSizeRowArrange()
Finishes the resizing of a column
public override void EndColumnResize()
Overrides:
Ensures that the row layout is calculated
public override void EnsureColumnsLayout()
Overrides:
Gets the column data.
public ColumnGroupsCellArrangeInfo GetColumnData(GridViewColumn column)
The column.
Returns:Gets the column offset.
public override int GetColumnOffset(GridViewColumn column)
The column.
Returns:Overrides:
Gets the corrected column bounds.
public RectangleF GetCorrectedColumnBounds(GridViewRowInfo row, GridViewColumn column, bool rightToLeft, RectangleF clientRect)
The row.
columnGridViewColumnThe column.
rightToLeftboolThe right to left.
clientRectRectangleFThe client rect.
Returns:Determines the actual row height.
public override int GetRowHeight(GridViewRowInfo rowInfo)
The desired GridViewRowInfo.
Returns:The actual row height, if successful.
Overrides:
Initializes the IGridRowLayout with the specified table element.
public override void Initialize(GridTableElement tableElement)
The GridTableElement to associate with this object
Overrides:
Invalidates the row layout
public override void InvalidateLayout()
Overrides:
Invalidates the RenderColumns collection
public override void InvalidateRenderColumns()
Overrides:
Determines whether the specified column is visible.
public virtual bool IsColumnVisible(GridViewColumn column, RectangleF viewRect)
The column.
viewRectRectangleFThe view rect.
Returns:Measures the auto size row.
public float MeasureAutoSizeRow(RadElementCollection cells)
The cells.
Returns:Measures the pinned columns.
public override SizeF MeasurePinnedColumns(PinnedColumnTraverser dataProvider)
The data provider.
Returns:Overrides:
Changes the size of an already chosen column by using the specified delta
Sets the width of the columns to display the whole content.
public void SetBestFitWidth(GridViewColumn column, float desiredWidth)
The column.
desiredWidthfloatWidth of the desired.
Starts resizing of a column from the UI
public override void StartColumnResize(GridViewColumn column)
The GridViewColumn to resize
Overrides: