Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

WindowsFormsSettings.AllowPixelScrolling Property

Gets or sets whether smooth pixel-based scrolling is enabled for controls. This is a static property.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v24.2.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

#Declaration

public static DefaultBoolean AllowPixelScrolling { get; set; }

#Property Value

Type Description
DefaultBoolean

A DefaultBoolean value that specifies whether smooth pixel-based scrolling is enabled for controls.

Available values:

Name Description Return Value
True

The value is true.

0

False

The value is false.

1

Default

The value is specified by a global option or a higher-level object.

2

#Remarks

If the AllowPixelScrolling property is set to Default or False, pixel scrolling is disabled. If this property is set to True, smooth pixel-based scrolling is enabled for controls.

You can override this setting for GridControl and TreeList controls using the GridOptionsBehavior.AllowPixelScrolling and TreeListOptionsBehavior.AllowPixelScrolling properties, respectively.

See Also