Class ColumnGroupRowLayout
Inherited Members
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
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
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
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
EndAutoSizeRowArrange()
Ends the auto size row arrange.
Declaration
public void EndAutoSizeRowArrange()
EndColumnResize()
Finishes the resizing of a column
Declaration
public override void EndColumnResize()
Overrides
EnsureColumnsLayout()
Declaration
public override void EnsureColumnsLayout()
Overrides
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
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
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
InvalidateLayout()
Invalidates the row layout
Declaration
public override void InvalidateLayout()
Overrides
InvalidateRenderColumns()
Invalidates the RenderColumns collection
Declaration
public override void InvalidateRenderColumns()
Overrides
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
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
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
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 |