windowsforms-devexpress-dot-xtracharts-dot-designer-dot-chartrangecontrolclientdatetimegridoptionsmodel-2d9c63b8.md
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
[PropertyForOptions]
public DateTimeGridAlignment SnapAlignment { get; set; }
<PropertyForOptions>
Public Property SnapAlignment As DateTimeGridAlignment
| Type | Description |
|---|---|
| DateTimeGridAlignment |
The selection thumbs alignment interval.
|
Available values:
| Name | Description |
|---|---|
| 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.
|
You can access this nested property as listed below:
| Object Type | Path to SnapAlignment |
|---|---|
| XYDiagram2DModel |
.RangeControlDateTimeGridOptions .SnapAlignment
|
See Also
ChartRangeControlClientDateTimeGridOptionsModel Class