Back to Devexpress

SunburstItem.IsGroup Property

windowsforms-devexpress-dot-xtratreemap-dot-sunburstitem-cad1dfb4.md

latest2.6 KB
Original Source

SunburstItem.IsGroup Property

Returns a value that specifies whether the Sunburst Item is a group item.

Namespace : DevExpress.XtraTreeMap

Assembly : DevExpress.XtraTreeMap.v25.2.dll

NuGet Package : DevExpress.TreeMap

Declaration

csharp
public bool IsGroup { get; }
vb
Public ReadOnly Property IsGroup As Boolean

Property Value

TypeDescription
Boolean

true if an item is a group; otherwise false.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the IsGroup 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.

winforms-dashboard-custom-items-extension/CS/CustomItemExtension/CustomItems/SunburstChart/SunburstItemControlProvider.cs#L115

csharp
SunburstHitInfo hi = sunburst.CalcHitInfo(e.Location);
if(hi.InSunburstItem && !hi.SunburstItem.IsGroup) {
    if(Interactivity.CanSetMasterFilter)

winforms-dashboard-custom-items-extension/VB/CustomItemExtension/CustomItems/SunburstChart/SunburstItemControlProvider.vb#L124

vb
Dim hi As SunburstHitInfo = sunburst.CalcHitInfo(e.Location)
If hi.InSunburstItem AndAlso Not hi.SunburstItem.IsGroup Then
    If Interactivity.CanSetMasterFilter Then

See Also

SunburstItem Class

SunburstItem Members

DevExpress.XtraTreeMap Namespace