Skip to main content

RangeControl.AllowSnapToInterval Property

Gets or sets whether to snap the selection thumbs to the bounds of the range items. This is a dependency property.

Namespace: DevExpress.WinUI.Controls

Assembly: DevExpress.WinUI.RangeControl.v23.2.dll

NuGet Package: DevExpress.WinUI

#Declaration

[DP(true, Handler = "OnAllowSnapToIntervalChanged")]
public bool AllowSnapToInterval { get; set; }

#Property Value

Type Description
Boolean

true, to snap the selection thumbs to the bounds of the range items; otherwise, false.

#Remarks

Set the AllowSnapToInterval property to false to allow the end-user to select the range regardless of the current zoom level.

See Also