Class ColumnGroupsViewDefinition
This class extends the default table layout in RadGridView with column groups.
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class ColumnGroupsViewDefinition : TableViewDefinition, IGridViewDefinition, IDisposable
Constructors
ColumnGroupsViewDefinition()
Initializes a new instance of the ColumnGroupsViewDefinition class.
Declaration
public ColumnGroupsViewDefinition()
Properties
ColumnGroups
Gets the collection containing column groups.
Declaration
public ColumnGroupCollection ColumnGroups { get; }
Property Value
ColumnGroupCollection
|
ViewTemplate
Gets or sets the view template.
Declaration
public GridViewTemplate ViewTemplate { get; }
Property Value
GridViewTemplate
The view template. |
Methods
CreateRowLayout()
Creates the row layout.
Declaration
public override IGridRowLayout CreateRowLayout()
Returns
IGridRowLayout
|
Overrides
CreateViewUIElement(GridViewInfo)
Creates the view UI element.
Declaration
public override IRowView CreateViewUIElement(GridViewInfo viewInfo)
Parameters
GridViewInfo
viewInfo
The view info. |
Returns
IRowView
|
Overrides
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()
Implements
FindGroup(GridViewColumn)
Finds the group.
Declaration
public GridViewColumnGroup FindGroup(GridViewColumn column)
Parameters
GridViewColumn
column
The column. |
Returns
GridViewColumnGroup
|
GetAllGroups()
Gets all groups.
Declaration
public IEnumerable<GridViewColumnGroup> GetAllGroups()
Returns
System.Collections.Generic.IEnumerable<GridViewColumnGroup>
|
ProcessPinnedGroupsCore()
Declaration
protected virtual void ProcessPinnedGroupsCore()