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

SunburstHitInfo.ItemInfo Property

Returns the sunburst item’s hit test information.

Namespace: DevExpress.Xpf.TreeMap

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

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