Skip to main content
A newer version of this page is available. .

TreeListOptionsBehavior.AllowPixelScrolling Property

Gets or sets whether smooth pixel-based vertical scrolling is enabled for nodes.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v19.1.dll

Declaration

[DefaultValue(DefaultBoolean.Default)]
[XtraSerializableProperty]
public virtual DefaultBoolean AllowPixelScrolling { get; set; }

Property Value

Type Default Description
DefaultBoolean **Default**

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

Available values:

Name Description
True

Corresponds to a Boolean value of true.

False

Corresponds to a Boolean value of false.

Default

The value is determined by the current object’s parent object setting (e.g., a control setting).

Property Paths

You can access this nested property as listed below:

Library Object Type Path to AllowPixelScrolling
WinForms Controls ResourcesTree
.OptionsBehavior.AllowPixelScrolling
TreeList
.OptionsBehavior.AllowPixelScrolling
Reporting XRDesignFieldList
.OptionsBehavior.AllowPixelScrolling
XRDesignReportExplorer
.OptionsBehavior.AllowPixelScrolling

Remarks

If the AllowPixelScrolling property is set to Default, the pixel scrolling feature is controlled by the static WindowsFormsSettings.AllowPixelScrolling property.

If the AllowPixelScrolling property is set to True, smooth pixel-based vertical scrolling is enabled for nodes. When pixel scrolling is enabled, you can scroll through nodes in code via the TreeList.TopVisibleNodePixel property.

See Also