Back to Devexpress

ChartRangeControlClientDateTimeGridOptionsModel.SnapAlignment Property

windowsforms-devexpress-dot-xtracharts-dot-designer-dot-chartrangecontrolclientdatetimegridoptionsmodel-2d9c63b8.md

latest2.9 KB
Original Source

ChartRangeControlClientDateTimeGridOptionsModel.SnapAlignment Property

Gets or sets the value of the ChartRangeControlClientDateTimeGridOptions.SnapAlignment within the model.

Namespace : DevExpress.XtraCharts.Designer

Assembly : DevExpress.XtraCharts.v25.2.Wizard.dll

NuGet Package : DevExpress.Win.Charts

Declaration

csharp
[PropertyForOptions]
public DateTimeGridAlignment SnapAlignment { get; set; }
vb
<PropertyForOptions>
Public Property SnapAlignment As DateTimeGridAlignment

Property Value

TypeDescription
DateTimeGridAlignment

The selection thumbs alignment interval.

|

Available values:

NameDescription
Millisecond

Specifies a millisecond as the date-time unit to which axis gridlines should be aligned.

| | Second |

Specifies a second as the date-time unit to which axis gridlines should be aligned.

| | Minute |

Specifies a minute as the date-time unit to which axis gridlines should be aligned.

| | Hour |

Specifies an hour as the date-time unit to which axis gridlines should be aligned.

| | Day |

Specifies a day as the date-time unit to which axis gridlines should be aligned.

| | Week |

Specifies a week as the date-time unit to which axis gridlines should be aligned.

| | Month |

Specifies a month as the date-time unit to which axis gridlines should be aligned.

| | Quarter |

Specifies a quarter of a year as the date-time unit to which axis gridlines should be aligned.

| | Year |

Specifies a year as the date-time unit to which axis gridlines should be aligned.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to SnapAlignment
XYDiagram2DModel

.RangeControlDateTimeGridOptions .SnapAlignment

|

See Also

ChartRangeControlClientDateTimeGridOptionsModel Class

ChartRangeControlClientDateTimeGridOptionsModel Members

DevExpress.XtraCharts.Designer Namespace