Back to Devexpress

RepositoryItemLookUpEditBase.UseCtrlScroll Property

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitemlookupeditbase-e4c56992.md

latest2.0 KB
Original Source

RepositoryItemLookUpEditBase.UseCtrlScroll Property

Gets or sets whether you should use the CTRL+UP-DOWN ARROW/CTRL+MOUSE WHEEL or UP-DOWN ARROW/MOUSE WHEEL combinations to scroll lookup records when the pop-up window is closed.

Namespace : DevExpress.XtraEditors.Repository

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DXCategory("Behavior")]
public virtual bool UseCtrlScroll { get; set; }
vb
<DXCategory("Behavior")>
Public Overridable Property UseCtrlScroll As Boolean

Property Value

TypeDescription
Boolean

true if you need to hold down the CTRL key when you use the UP or DOWN ARROW/MOUSE WHEEL combinations; false if the CTRL key should not be pressed.

|

Remarks

If the lookup editor is focused, but the pop-up window is closed, a user can use the UP/DOWN ARROW keys and mouse wheel to scroll lookup records. If the UseCtrlScroll property is set to true , a user can use these combinations while holding the CTRL key to scroll records.

The UseCtrlScroll property’s default value is true for in-place editors, and false for standalone editors.

See Also

RepositoryItemLookUpEditBase Class

RepositoryItemLookUpEditBase Members

DevExpress.XtraEditors.Repository Namespace