TreeListOptionsBehavior.AllowPixelScrolling Property
Gets or sets whether smooth pixel-based vertical scrolling is enabled for nodes.
Namespace: DevExpress.XtraTreeList
Assembly: DevExpress.XtraTreeList.v20.1.dll
NuGet Package: DevExpress.Win.TreeList
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 | GanttControl |
|
ResourcesTree |
|
|
TreeList |
|
|
Reporting | XRDesignFieldList |
|
XRDesignReportExplorer |
|
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.