Class GridViewGroupRowInfo
Represents a group header row that displays grouping information and provides access to grouped data and summary rows.
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class GridViewGroupRowInfo : GridViewRowInfo, IDataItem, IHierarchicalRow, INotifyPropertyChanged, INotifyPropertyChangingEx, IDisposable
Constructors
GridViewGroupRowInfo(GridViewInfo, DataGroup)
Initializes a new instance of the GridViewGroupRowInfo class.
Declaration
public GridViewGroupRowInfo(GridViewInfo gridViewInfo, DataGroup dataGroup)
Parameters
GridViewInfo
gridViewInfo
The associated GridViewInfo that owns this group row. |
DataGroup
dataGroup
The data group that this row represents. |
Properties
AllowedStates
Gets the allowed states for this group row.
Declaration
public override AllowedGridViewRowInfoStates AllowedStates { get; }
Property Value
AllowedGridViewRowInfoStates
|
Overrides
BottomSummaryRows
Gets the collection of summary rows that appear at the bottom of this group.
Declaration
public GridViewSummaryRowCollection BottomSummaryRows { get; }
Property Value
GridViewSummaryRowCollection
|
ChildRows
Gets the collection of visual child rows that belong to this group.
Declaration
public override GridViewChildRowCollection ChildRows { get; }
Property Value
GridViewChildRowCollection
|
Overrides
Group
Gets or sets the data group that this row represents.
Declaration
public override DataGroup Group { get; }
Property Value
DataGroup
|
Overrides
GroupLevel
Gets the hierarchy level of the group that owns this row.
Declaration
public int GroupLevel { get; }
Property Value
System.Int32
|
HeaderText
Gets or sets the header text displayed for this group row.
Declaration
public string HeaderText { get; set; }
Property Value
System.String
|
IsPinned
This property is not relevant for this class.
Declaration
public override bool IsPinned { get; set; }
Property Value
System.Boolean
|
Overrides
Parent
Gets the parent row for this group row in the hierarchy.
Declaration
public override IHierarchicalRow Parent { get; }
Property Value
IHierarchicalRow
|
Overrides
PinPosition
This property is not relevant for this class.
Declaration
public override PinnedRowPosition PinPosition { get; set; }
Property Value
PinnedRowPosition
|
Overrides
RowElementType
Gets the type of the GridRowElement used to visualize this group row.
Declaration
public override Type RowElementType { get; }
Property Value
System.Type
|
Overrides
ShowCollapsedGroupSummaries
Gets or sets a value indicating whether summary rows of collapsed groups will be visible. If true, the summary rows will not be hidden when the group is collapsed. Note that by default the value of this property is inherited from the ShowCollapsedGroupSummaries property. If you need different behavior for different groups/group levels, you can use the CreateRowInfo event and set the ShowCollapsedGroupSummaries property of each group individually.
Declaration
public bool ShowCollapsedGroupSummaries { get; set; }
Property Value
System.Boolean
|
TopSummaryRows
Gets the collection of summary rows that appear at the top of this group.
Declaration
public GridViewSummaryRowCollection TopSummaryRows { get; }
Property Value
GridViewSummaryRowCollection
|
Methods
BuildBottomSummaryRows()
Builds the collection of bottom summary rows for this group.
Declaration
protected virtual void BuildBottomSummaryRows()
BuildSummaryRows()
Builds the summary rows if necessary - when groups or summaries are changed.
Declaration
protected virtual void BuildSummaryRows()
BuildTopSummaryRows()
Builds the collection of top summary rows for this group.
Declaration
protected virtual void BuildTopSummaryRows()
ClearCache()
Clears the cached data for this group row.
Declaration
protected override void ClearCache()
Overrides
GetSummary()
Gets the formatted summary text for this group row.
Declaration
public string GetSummary()
Returns
System.String
The formatted summary text containing aggregated values for this group. |
OnPropertyChanged(PropertyChangedEventArgs)
Raises the PropertyChanged event and handles group expansion state changes.
Declaration
protected override void OnPropertyChanged(PropertyChangedEventArgs e)
Parameters
System.ComponentModel.PropertyChangedEventArgs
e
The event arguments containing property change information. |
Overrides
OnPropertyChanging(PropertyChangingEventArgsEx)
Raises the PropertyChanging event and handles group expansion state changes before they occur.
Declaration
protected override void OnPropertyChanging(PropertyChangingEventArgsEx args)
Parameters
PropertyChangingEventArgsEx
args
The event arguments containing property change information. |