Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 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.ItemInfo Property

Returns the sunburst item’s hit test information.

Namespace: DevExpress.Xpf.TreeMap

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

NuGet Package: DevExpress.Wpf.TreeMap

#Declaration

public SunburstSectorViewInfo ItemInfo { get; }

#Property Value

Type Description
DevExpress.Xpf.TreeMap.Native.SunburstSectorViewInfo

The sunburst item’s hit test information.

#Remarks

The following code obtains a label’s text for the item that a user clicks:

private void SunburstControl_MouseUp(object sender, System.Windows.Input.MouseButtonEventArgs e) {
  SunburstHitInfo hitInfo = sunburstControl1.CalcHitInfo(e.GetPosition(sunburstControl1));
  if (hitInfo != null) {
      string labelText= hitInfo.ItemInfo.Text.ToString();
  }
}
See Also