Back to Devexpress

ChartRangeControlClientTimeSpanGridOptions.SnapAlignment Property

corelibraries-devexpress-dot-xtracharts-dot-chartrangecontrolclienttimespangridoptions-1b713fd7.md

latest2.5 KB
Original Source

ChartRangeControlClientTimeSpanGridOptions.SnapAlignment Property

Specifies the measurement unit to which selection thumbs of the range control are snapped.

Namespace : DevExpress.XtraCharts

Assembly : DevExpress.XtraCharts.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

csharp
public TimeSpanGridAlignment SnapAlignment { get; set; }
vb
Public Property SnapAlignment As TimeSpanGridAlignment

Property Value

TypeDescription
TimeSpanGridAlignment

A TimeSpanGridAlignment enumeration value that represents the selection thumbs alignment interval.

|

Available values:

NameDescription
Millisecond

Specifies millisecond as the time-span unit to which axis grid lines should be aligned.

| | Second |

Specifies second as the time-span unit to which axis grid lines should be aligned.

| | Minute |

Specifies minute as the time-span unit to which axis grid lines should be aligned.

| | Hour |

Specifies hour as the time-span unit to which axis grid lines should be aligned.

| | Day |

Specifies day as the time-span unit to which axis grid lines should be aligned.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to SnapAlignment
XYDiagram2D

.RangeControlTimeSpanGridOptions .SnapAlignment

|

Remarks

Use the SnapAlignment property to snap the selection thumbs to the range interval when dragging them in the range control’s viewport.

See Also

ChartRangeControlClientTimeSpanGridOptions Class

ChartRangeControlClientTimeSpanGridOptions Members

DevExpress.XtraCharts Namespace