'Declaration Public Event SliceLeave As SliceEventHandler
public event SliceEventHandler SliceLeave
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.
Property | Description |
---|---|
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. |
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