Skip to main content
All docs
V25.1
  • DevExpress v25.1 Update — Your Feedback Matters

    Our What's New in v25.1 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

    Take the survey Not interested

    SunburstHitInfo Class

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

    Namespace: DevExpress.Xpf.TreeMap

    Assembly: DevExpress.Xpf.TreeMap.v25.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