windowsforms-devexpress-dot-xtratreemap-dot-sunburstitemgroupinfo.md
Returns the parent group’s nesting level.
Namespace : DevExpress.XtraTreeMap
Assembly : DevExpress.XtraTreeMap.v25.2.dll
NuGet Package : DevExpress.TreeMap
public int GroupLevel { get; }
Public ReadOnly Property GroupLevel As Integer
| Type | Description |
|---|---|
| Int32 |
The parent group’s nesting level.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GroupLevel property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
public Color GetItemColor(ISunburstItem item, SunburstItemGroupInfo group) {
if(group.GroupLevel < maxcoloringIndex) {
int alpha = 255 * (group.MaxGroupLevel - group.GroupLevel + 1) / (group.MaxGroupLevel + 1);
Public Function GetItemColor(ByVal item As ISunburstItem, ByVal group As SunburstItemGroupInfo) As Color Implements ISunburstColorizer.GetItemColor
If group.GroupLevel < maxcoloringIndex Then
Dim alpha As Integer = 255 * (group.MaxGroupLevel - group.GroupLevel + 1) / (group.MaxGroupLevel + 1)
See Also