RangeControl Class

Supports range selection for any data.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

public class RangeControl :
    BaseStyleControl,
    ISupportXtraAnimation,
    IRangeControl,
    IMouseWheelSupport,
    ISupportInitialize,
    IDirectXClient
Public Class RangeControl
    Inherits BaseStyleControl
    Implements ISupportXtraAnimation,
               IRangeControl,
               IMouseWheelSupport,
               ISupportInitialize,
               IDirectXClient

Related API Members

The following members accept/return RangeControl objects:

Remarks

The Range Control allows end-users to select ranges of data using mouse and fingers (when using touch screens).

RangeControl-Video-SelectRange

In addition to simple scrolling, you can zoom data in and out:

RangeControl-Video-ZoomRange

Clients

Data for the Range Control is provided by a Range Control Client, which must be associated with the Range Control by using the RangeControl.Client property. The client also visualizes data in the Range Control's viewport in a specific manner. Embedded into the Range Control, the client automatically gains support for range selection and zooming.

The following Range Control Clients are available out of the box.

To embed a NumericRangeControlClient, NumericChartRangeControlClient or DateTimeChartRangeControlClient into the Range Control at design time, use the Range Control's smart tag.

RangeControl-SmartTag

When required, you can implement your own Range Control Client that will display data in a custom manner within the Range Control. See the Custom Range Control Client topic to learn more.

RangeControl-CustomClient

Selection

The current selection can be obtained using the RangeControl.SelectedRange property. When displaying numeric ranges, you can specify the range bounds using the Range Control's ClientOptions.Minimum and ClientOptions.Maximum properties.

Additional Information

The following topics provide more information on the Range Control:

See Also