TdxCustomRangeControl Class
Serves as the base class for classes that implement range controls.
Declaration
TdxCustomRangeControl = class(
TcxControl,
IdxSkinSupport
)
Remarks
This class extends its ancestor class with properties that allow you to:
Assign the data range selection and visualization model and customize its settings (ClientProperties, ClientPropertiesClass, or ClientPropertiesClassName);
Associate the range control with the client control that supports data range selection (Client);
Specify the selected range and respond to its changes (SelectedRangeMinValue, SelectedRangeMaxValue, and OnDrawContent);
Specify the data range within the range control’s viewport (VisibleRangeMinValue and VisibleRangeMaxValue);
Specify the maximum ratio between the selectable and visible data ranges (VisibleRangeMaxScaleFactor);
Switch the visibility of UI elements (ShowRuler and ShowZoomScrollBar);
Enable animated range selection and zooming (Animation);
Customize the range control appearance settings that are common to all supported data range selection and visualization models (Style);
Improve the performance of a range control-based application by reducing the number of repaint operations (BeginUpdate, and EndUpdate);
Repaint the range control on demand (ContentChanged);
Obtain the range control’s HitTest information (HitTest);
Custom paint the content and scales of the range control (OnDrawContent and OnDrawScale).
The TdxCustomRangeControl
class implements all the functionality needed by its descendant, TdxRangeControl, which primarily publishes inherited properties and events.