Version

SliceEnter Event (PieChartBase)

Raised when a slice is entered by the pointer.
Syntax
'Declaration
 
Public Event SliceEnter As SliceEventHandler
public event SliceEventHandler SliceEnter
Event Data

The event handler receives an argument of type SliceEventArgs containing data related to this event. The following SliceEventArgs 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.
OriginalEvent Holds a reference to the original event that triggered slice click.
Outline Gets the outline color of the slice.
Position Gets the position of the mouse relative to the pie chart.
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 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