Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ChartBaseView.SetSelected(Int32, Int32, Boolean) Method

Gets or sets whether a series point with the specified pointIndex of a series with the given seriesIndex is selected.

Namespace: DevExpress.Maui.Charts

Assembly: DevExpress.Maui.Charts.dll

NuGet Package: DevExpress.Maui.Charts

#Declaration

C#
public void SetSelected(
    int seriesIndex,
    int pointIndex,
    bool isSelect
)

#Parameters

Name Type Description
seriesIndex Int32

The zero-based index of a series whose series point changes selection state.

pointIndex Int32

The zero-based index of a series point that changes selection state.

isSelect Boolean

true if a point / series should be selected; otherwise, false.

#Remarks

When the SelectionKind property is set to Series you can to pass any number as the pointIndex parameter.

See Also