Skip to main content
A newer version of this page is available. .

DashboardItemMouseActionWpfEventArgs.GetSlice() Method

Returns the data slice for the Default axis by the AxisPoint related to the visual element located under the test point.

Namespace: DevExpress.DashboardWpf

Assembly: DevExpress.Dashboard.v18.2.Wpf.dll

Declaration

public MultiDimensionalData GetSlice()

Returns

Type Description
MultiDimensionalData

A MultiDimensionalData object that is the slice of the client data.

Remarks

The GetSlice method returns a MultiDimensionalData object that is the data slice by the AxisPoint located at the Default axis. The Default axis is an axis with the DefaultAxis name. The following dashboard items have the Default axis:

In the picture below, the GetSlice() result is the highlighted grid row at the Aniseed Syrup AxisPoint.

The following code returns the Aniseed Syrup AxisPoint.

e.GetSlice().GetAxisPoints("Default");

In code, you can use the DefaultAxis value instead of the “Default” string.

See Also