Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

SpreadsheetSelectionBehaviorOptions.AllowExtendSelection Property

Gets or sets whether end-users are allowed to extend selection in a worksheet by dragging or using arrow keys.

Namespace: DevExpress.Xpf.Spreadsheet

Assembly: DevExpress.Xpf.Spreadsheet.v24.2.dll

NuGet Package: DevExpress.Wpf.Spreadsheet

#Declaration

public bool AllowExtendSelection { get; set; }

#Property Value

Type Description
Boolean

true, if end-users can extend the selected range of cells; otherwise, false.

#Property Paths

You can access this nested property as listed below:

Object Type Path to AllowExtendSelection
SpreadsheetBehaviorOptions
.Selection .AllowExtendSelection

#Remarks

The selected range of cells can be extended by dragging the selection handles with the mouse or pressing the arrow keys while holding the SHIFT key. When the AllowExtendSelection is set to false, this behavior is unavailable.

See Also