Skip to main content

SpreadsheetSelectionOptions.AllowExtendSelection Property

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

Namespace: DevExpress.XtraSpreadsheet

Assembly: DevExpress.Spreadsheet.v24.1.Core.dll

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

[DefaultValue(true)]
public bool AllowExtendSelection { get; set; }

Property Value

Type Default Description
Boolean true

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