ScrollControl.AllowBringChildIntoView Property
Gets or sets whether an element, hosted within the ScrollControl descendant, should be automatically scrolled upon interaction.
Namespace: DevExpress.Xpf.Core
Assembly: DevExpress.Xpf.Core.v24.1.dll
NuGet Package: DevExpress.Wpf.Core
Declaration
Property Value
Type | Description |
---|---|
Boolean | true, if an element, hosted within the ScrollControl descendant, should be automatically scrolled upon interaction.; otherwise, false. |
Remarks
By default, a control derived from the ScrollControl class automatically scrolls its content area to display the top of the control (group of controls) with which an end-user interacts. This behavior is shown in the following animation.
To disable this behavior, set the AllowBringChildIntoView property to false.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AllowBringChildIntoView property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.