Skip to main content
All docs
V24.1

SunburstHitInfo Class

Contains information about a Sunburst chart element that is located at a specific point.

Namespace: DevExpress.Xpf.TreeMap

Assembly: DevExpress.Xpf.TreeMap.v24.1.dll

NuGet Package: DevExpress.Wpf.TreeMap

Declaration

public class SunburstHitInfo :
    HierarchicalControlHitInfo

The following members return SunburstHitInfo objects:

Remarks

The following code invokes a message box when a user double-clicks a Sunburst sector:

<dxtm:SunburstControl x:Name="sunburstControl"
                      MouseDoubleClick="SunburstControl_MouseDoubleClick">
                      <!--...-->
</dxtm:SunburstControl>
private void SunburstControl_MouseDoubleClick(object sender, System.Windows.Input.MouseButtonEventArgs e) {
    SunburstHitInfo hitInfo = sunburstControl.CalcHitInfo(e.GetPosition(sunburstControl));
    if (hitInfo != null) {
        MessageBox.Show($"Sector value: {hitInfo.ItemInfo.Value}");
    }
}

Inheritance

Object
DevExpress.Xpf.TreeMap.HierarchicalControlHitInfo
SunburstHitInfo
See Also