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 |
---|---|
Spreadsheet |
A Spreadsheet |
#Property Paths
You can access this nested property as listed below:
Object Type | Path to View |
---|---|
Spreadsheet |
|
#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).
#Related GitHub Examples
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.