RangeControl.AllowPanMode Property
Gets or sets whether the current selection can be dragged within the Viewport (client area).
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v24.2.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | true | true if the current selection can be dragged within the Viewport; otherwise, false. |
Remarks
If the AllowPanMode option is enabled, end-users can drag the current selection within the Viewport. This allows users to change range bounds while the range length remains fixed.
If you set the AllowPanMode property to false, dragging with a mouse within the client area leads to recalculating the range’s bounds and length based on the initial and final mouse positions.
AllowPanMode = true | AllowPanMode = false |
---|---|
See Also