officefileapi-devexpress-dot-spreadsheet-dot-chartsheetcollection.md
Gets or sets the currently active chart sheet within a workbook.
Namespace : DevExpress.Spreadsheet
Assembly : DevExpress.Spreadsheet.v25.2.Core.dll
NuGet Package : DevExpress.Spreadsheet.Core
ChartSheet ActiveChartSheet { get; set; }
Property ActiveChartSheet As ChartSheet
| Type | Description |
|---|---|
| ChartSheet |
A ChartSheet object that specifies the active chart sheet.
|
The ActiveChartSheet property returns null ( Nothing in VB) if the currently active sheet in a workbook is a Worksheet.
The following code snippets (auto-collected from DevExpress Examples) contain references to the ActiveChartSheet 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-chart-api/CS/SpreadsheetWPFChartAPISamples/CodeExamples/ChartSheetActions.cs#L16
workbook.ChartSheets.ActiveChartSheet = chartSheet;
#endregion #CreateChartSheet
winforms-spreadsheet-chart-api/CS/SpreadsheetChartAPISamples/CodeExamples/ChartSheetActions.cs#L16
workbook.ChartSheets.ActiveChartSheet = chartSheet;
#endregion #CreateChartSheet
wpf-spreadsheet-chart-api/VB/SpreadsheetWPFChartAPISamples/CodeExamples/ChartSheetActions.vb#L17
workbook.ChartSheets.ActiveChartSheet = chartSheet
' #End Region ' #CreateChartSheet
winforms-spreadsheet-chart-api/VB/SpreadsheetChartAPISamples/CodeExamples/ChartSheetActions.vb#L16
workbook.ChartSheets.ActiveChartSheet = chartSheet
' #End Region ' #CreateChartSheet
See Also