Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

SpreadsheetControlOptions.View Property

Gets or sets options specific for the SpreadsheetControl’s view. This is a dependency property.

Namespace: DevExpress.Xpf.Spreadsheet

Assembly: DevExpress.Xpf.Spreadsheet.v24.2.dll

NuGet Package: DevExpress.Wpf.Spreadsheet

#Declaration

public SpreadsheetViewOptions View { get; set; }

#Property Value

Type Description
SpreadsheetViewOptions

A SpreadsheetViewOptions object that specifies display settings for the SpreadsheetControl.

#Property Paths

You can access this nested property as listed below:

Object Type Path to View
SpreadsheetControl
.Options .View

#Remarks

Use the SpreadsheetControl.Options.View property to access the SpreadsheetViewOptions object. The object’s properties allow you to specify the row header width (SpreadsheetViewOptions.RowHeaderWidth) and column header height (SpreadsheetViewOptions.ColumnHeaderHeight), display or hide column headers (SpreadsheetViewOptions.ShowColumnHeaders) and row headers (SpreadsheetViewOptions.ShowRowHeaders), display or remove the print area’s border (SpreadsheetViewOptions.ShowPrintArea), resolve the axis label overlapping on a chart (SpreadsheetViewOptions.ChartsCategoryAxisLabels and SpreadsheetViewOptions.ChartsValueAxisLabels).

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the View 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