DateTimeScaleChangedEventArgs(AxisBase, ValueChangeInfo<ScaleMode>, ValueChangeInfo<DateTimeMeasureUnit>, ValueChangeInfo<Int32>, ValueChangeInfo<DateTimeGridAlignment>, ValueChangeInfo<Double>) Constructor

Initializes a new instance of the DateTimeScaleChangedEventArgs class with the specified values of event arguments.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v20.2.dll

Declaration

public DateTimeScaleChangedEventArgs(
    AxisBase axis,
    ValueChangeInfo<ScaleMode> scaleModeChange,
    ValueChangeInfo<DateTimeMeasureUnit> measureUnitChange,
    ValueChangeInfo<int> measureUnitMultiplierChange,
    ValueChangeInfo<DateTimeGridAlignment> gridAlignmentChange,
    ValueChangeInfo<double> gridSpacingChange
)
Public Sub New(
    axis As AxisBase,
    scaleModeChange As ValueChangeInfo(Of ScaleMode),
    measureUnitChange As ValueChangeInfo(Of DateTimeMeasureUnit),
    measureUnitMultiplierChange As ValueChangeInfo(Of Integer),
    gridAlignmentChange As ValueChangeInfo(Of DateTimeGridAlignment),
    gridSpacingChange As ValueChangeInfo(Of Double)
)

Parameters

Name Type Description
axis AxisBase

The axis whose scale is changed.

scaleModeChange ValueChangeInfo<ScaleMode>

The ValueChangeInfo<T> of ScaleMode, that contains information about axis scale mode changes.

measureUnitChange ValueChangeInfo<DateTimeMeasureUnit>

The ValueChangeInfo<T> of DateTimeMeasureUnit, that contains information about axis measurement unit changes.

measureUnitMultiplierChange ValueChangeInfo<Int32>

The ValueChangeInfo<T> of Int32, that contains information about axis measurement unit multiplier changes.

gridAlignmentChange ValueChangeInfo<DateTimeGridAlignment>

The ValueChangeInfo<T> of DateTimeGridAlignment, that contains information about grid alignment unit changes.

gridSpacingChange ValueChangeInfo<Double>

The ValueChangeInfo<T> of Double, that contains information about grid spacing changes.

Remarks

Instances of the DateTimeScaleChangedEventArgs class are automatically created, initialized and passed to the corresponding event handlers.

See Also