Skip to main content
All docs
V24.1

SunburstHitInfo.ItemInfo Property

Returns the sunburst item’s hit test information.

Namespace: DevExpress.Xpf.TreeMap

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