A newer version of this page is available. Switch to the current version.

ChartControlSettings.ObjectSelected Property

Occurs before any chart element is selected at runtime.

Namespace: DevExpress.Web.Mvc

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

Declaration

public HotTrackEventHandler ObjectSelected { get; set; }
Public Property ObjectSelected As HotTrackEventHandler

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