Back to Devexpress

WindowsFormsSettings.AllowPixelScrolling Property

windowsforms-devexpress-dot-xtraeditors-dot-windowsformssettings-05f29aee.md

latest2.5 KB
Original Source

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.v25.2.dll

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

Declaration

csharp
public static DefaultBoolean AllowPixelScrolling { get; set; }
vb
Public Shared Property AllowPixelScrolling As DefaultBoolean

Property Value

TypeDescription
DefaultBoolean

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

|

Available values:

NameDescriptionReturn 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

GridOptionsBehavior.AllowPixelScrolling

TreeListOptionsBehavior.AllowPixelScrolling

WindowsFormsSettings Class

WindowsFormsSettings Members

DevExpress.XtraEditors Namespace