Skip to main content

ChartControlSettings.ObjectSelected Property

Occurs before any chart element is selected at runtime.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.2.dll

Declaration

public HotTrackEventHandler ObjectSelected { get; set; }

Property Value

Type Description
HotTrackEventHandler

A HotTrackEventHandler delegate method allowing you to implement custom processing.

Remarks

An end-user is able to select items of the ChartControl at runtime if the ChartControlSettings.RuntimeSelection property is set to true. Handle the ObjectSelected event if you want to perform specific actions when an end-user selects a chart’s elements, or if you want to disable the selection of particular elements. Note that the currently selected element of the chart can be accessed using the HotTrackEventArgs.Object property.

Note

If you handle the ObjectSelected event, it will be raised regardless of the current ChartControlSettings.RuntimeSelection property value.

See Also