Back to Devexpress

SpreadsheetBehaviorOptions.Selection Property

wpf-devexpress-dot-xpf-dot-spreadsheet-dot-spreadsheetbehavioroptions-13dd63c6.md

latest2.6 KB
Original Source

SpreadsheetBehaviorOptions.Selection Property

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

Declaration

csharp
public SpreadsheetSelectionBehaviorOptions Selection { get; set; }
vb
Public Property Selection As SpreadsheetSelectionBehaviorOptions

Property Value

TypeDescription
SpreadsheetSelectionBehaviorOptions

A SpreadsheetSelectionBehaviorOptions object.

|

Property Paths

You can access this nested property as listed below:

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

xml
<dxsps:SpreadsheetBehaviorOptions>
    <dxsps:SpreadsheetBehaviorOptions.Selection>
        <dxsps:SpreadsheetSelectionBehaviorOptions HideSelection="True" MoveActiveCellMode="None"/>

See Also

SpreadsheetBehaviorOptions Class

SpreadsheetBehaviorOptions Members

DevExpress.Xpf.Spreadsheet Namespace