Back to Devexpress

SpreadsheetSelectionOptions.AllowExtendSelection Property

officefileapi-devexpress-dot-xtraspreadsheet-dot-spreadsheetselectionoptions.md

latest2.1 KB
Original Source

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.v25.2.Core.dll

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
[DefaultValue(true)]
public bool AllowExtendSelection { get; set; }
vb
<DefaultValue(True)>
Public Property AllowExtendSelection As Boolean

Property Value

TypeDefaultDescription
Booleantrue

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 TypePath 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

SpreadsheetSelectionOptions Class

SpreadsheetSelectionOptions Members

DevExpress.XtraSpreadsheet Namespace