Xceed Grid for WinForms v4.3 Documentation
RunningStatGroupLevel Property (SummaryCell)


Xceed.Grid.v4.3 Assembly > Xceed.Grid Namespace > SummaryCell Class : RunningStatGroupLevel Property
Gets or sets a value indicating for what group GroupBase.Level the running statistical function will be calculated.
Syntax
'Declaration
 
<DescriptionAttribute("Indicates for what group level the running statistical function will be calculated.")>
<CategoryAttribute("Data")>
<ApplyToDesignerAttribute(True)>
Public Property RunningStatGroupLevel As Integer
'Usage
 
Dim instance As SummaryCell
Dim value As Integer
 
instance.RunningStatGroupLevel = value
 
value = instance.RunningStatGroupLevel
[Description("Indicates for what group level the running statistical function will be calculated.")]
[Category("Data")]
[ApplyToDesigner(true)]
public int RunningStatGroupLevel {get; set;}

Property Value

A value indicating for what group GroupBase.Level the running statistical function will be calculated. By default, DefaultRunningStatGroupLevel. If -1 (default), the result of the statistical function will be limited to the parent group (no running stat).
Remarks

If 0 is specified, the running stat will be calculated for all the groups in the grid. If 1 is specified, the running stat will be calculated for all groups of level 1. In otherwords, all the level 1 groups beneath the parent level 0 group. Keep in mind that the value of the running statistical function will be the accumulation of the values found before the current SummaryCell/Row.

If the RunningStatGroupLevel property is assigned a value that is greater than its parent group's level, the result will be the same as if the RunningStatGroupLevel property was set to -1; no running stat.

If a SummaryCell/Row is contained in a detail grid or one of its child groups, its running stat will be contained within the scope of the detail grid. This means that a SummaryCell/Row cannot calculate a running statistical function across multiple (run-time) detail grids.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

SummaryCell Class
SummaryCell Members