Skip to main content
A newer version of this page is available. .
All docs
V20.2

SunburstHitInfo Class

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

Namespace: DevExpress.Xpf.TreeMap

Assembly: DevExpress.Xpf.TreeMap.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.TreeMap, 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