Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

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.v19.1.Core.dll

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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the AllowExtendSelection 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.

See Also