Version

SliceClick Event (PieChartBase)

Raised when the slice is clicked.
Syntax
'Declaration
 
Public Event SliceClick As SliceClickEventHandler
public event SliceClickEventHandler SliceClick
Event Data

The event handler receives an argument of type SliceClickEventArgs containing data related to this event. The following SliceClickEventArgs properties provide information specific to this event.

PropertyDescription
Bounds Gets the bounds of the slice.
DataContext Gets the slice data context.
EndAngle Gets the end angle of the slice.
Fill Gets the fill color of the slice.
Index Gets the index of the slice that was clicked.
IsExploded Gets or sets whether the slice is exploded.
IsOthersSlice Gets whether the current slice is part of the others slice.
IsSelected Gets or sets whether the slice is selected.
Origin Gets the origin location of the slice.
Outline Gets the outline color of the slice.
Radius Gets the radius of the slice.
StartAngle Gets the start angle of the slice.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also