wpf-devexpress-dot-xpf-dot-core-dot-scrollbarextensions-ca777088.md
Gets or sets whether to enable the middle-click to scroll functionality.
Namespace : DevExpress.Xpf.Core
Assembly : DevExpress.Xpf.Core.v25.2.dll
NuGet Package : DevExpress.Wpf.Core
See GetAllowMiddleMouseScrolling(DependencyObject) and SetAllowMiddleMouseScrolling(DependencyObject, Boolean).
| Type | Default | Description |
|---|---|---|
| Boolean | false |
true to enable the middle-click to scroll functionality; otherwise, false.
|
The following code sample enables the middle-click to scroll functionality in the GridControl:
<Window ...
xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid">
<dxg:GridControl ...
dx:ScrollBarExtensions.AllowMiddleMouseScrolling="True"/>
You can also enable this option in other controls that meet the following requirements:
See Also