GridViewGroupRowInfo
Represents a group header row that displays grouping information and provides access to grouped data and summary rows.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class GridViewGroupRowInfo : GridViewRowInfo, IDataItem, IHierarchicalRow, INotifyPropertyChanged, INotifyPropertyChangingEx, IDisposable
Inheritance: objectGridViewRowInfoGridViewGroupRowInfo
Implements:
Inherited Members
Constructors
Initializes a new instance of the GridViewGroupRowInfo class.
public GridViewGroupRowInfo(GridViewInfo gridViewInfo, DataGroup dataGroup)
The associated GridViewInfo that owns this group row.
dataGroupDataGroupThe data group that this row represents.
Properties
Gets the allowed states for this group row.
public override AllowedGridViewRowInfoStates AllowedStates { get; }
Overrides:
Gets the collection of summary rows that appear at the bottom of this group.
public GridViewSummaryRowCollection BottomSummaryRows { get; }
Gets the collection of visual child rows that belong to this group.
public override GridViewChildRowCollection ChildRows { get; }
Overrides:
Gets or sets the data group that this row represents.
public override DataGroup Group { get; }
Overrides:
Gets the hierarchy level of the group that owns this row.
public int GroupLevel { get; }
Gets or sets the header text displayed for this group row.
public string HeaderText { get; set; }
Gets the parent row for this group row in the hierarchy.
public override IHierarchicalRow Parent { get; }
Overrides:
Gets the type of the GridRowElement used to visualize this group row.
public override Type RowElementType { get; }
Overrides:
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.
public bool ShowCollapsedGroupSummaries { get; set; }
Gets the collection of summary rows that appear at the top of this group.
public GridViewSummaryRowCollection TopSummaryRows { get; }
Methods
Builds the collection of bottom summary rows for this group.
protected virtual void BuildBottomSummaryRows()
Builds the summary rows if necessary - when groups or summaries are changed.
protected virtual void BuildSummaryRows()
Builds the collection of top summary rows for this group.
protected virtual void BuildTopSummaryRows()
Clears the cached data for this group row.
protected override void ClearCache()
Overrides:
Gets the formatted summary text for this group row.
public string GetSummary()
The formatted summary text containing aggregated values for this group.
Raises the PropertyChanged event and handles group expansion state changes.
protected override void OnPropertyChanged(PropertyChangedEventArgs e)
The event arguments containing property change information.
Overrides:
Raises the PropertyChanging event and handles group expansion state changes before they occur.
protected override void OnPropertyChanging(PropertyChangingEventArgsEx args)
The event arguments containing property change information.
Overrides: