wpf-devexpress-dot-xpf-dot-spreadsheet-dot-spreadsheetbehavioroptions-13dd63c6.md
Provides access to cell selection options. This is a dependency property.
Namespace : DevExpress.Xpf.Spreadsheet
Assembly : DevExpress.Xpf.Spreadsheet.v25.2.dll
NuGet Package : DevExpress.Wpf.Spreadsheet
public SpreadsheetSelectionBehaviorOptions Selection { get; set; }
Public Property Selection As SpreadsheetSelectionBehaviorOptions
| Type | Description |
|---|---|
| SpreadsheetSelectionBehaviorOptions |
A SpreadsheetSelectionBehaviorOptions object.
|
You can access this nested property as listed below:
| Object Type | Path to Selection |
|---|---|
| SpreadsheetControlOptions |
.Behavior .Selection
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Selection 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.
wpf-spreadsheet-control-create-a-data-entry-form/CS/WpfDataEntryFormSample/MainWindow.xaml#L35
<dxsps:SpreadsheetBehaviorOptions>
<dxsps:SpreadsheetBehaviorOptions.Selection>
<dxsps:SpreadsheetSelectionBehaviorOptions HideSelection="True" MoveActiveCellMode="None"/>
See Also
SpreadsheetBehaviorOptions Class