Back to Devexpress

ChartSheetCollection.ActiveChartSheet Property

officefileapi-devexpress-dot-spreadsheet-dot-chartsheetcollection.md

latest3.4 KB
Original Source

ChartSheetCollection.ActiveChartSheet Property

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

Declaration

csharp
ChartSheet ActiveChartSheet { get; set; }
vb
Property ActiveChartSheet As ChartSheet

Property Value

TypeDescription
ChartSheet

A ChartSheet object that specifies the active chart sheet.

|

Remarks

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

csharp
workbook.ChartSheets.ActiveChartSheet = chartSheet;
#endregion #CreateChartSheet

winforms-spreadsheet-chart-api/CS/SpreadsheetChartAPISamples/CodeExamples/ChartSheetActions.cs#L16

csharp
workbook.ChartSheets.ActiveChartSheet = chartSheet;
#endregion #CreateChartSheet

wpf-spreadsheet-chart-api/VB/SpreadsheetWPFChartAPISamples/CodeExamples/ChartSheetActions.vb#L17

vb
workbook.ChartSheets.ActiveChartSheet = chartSheet
' #End Region ' #CreateChartSheet

winforms-spreadsheet-chart-api/VB/SpreadsheetChartAPISamples/CodeExamples/ChartSheetActions.vb#L16

vb
workbook.ChartSheets.ActiveChartSheet = chartSheet
' #End Region ' #CreateChartSheet

See Also

ChartSheetCollection Interface

ChartSheetCollection Members

DevExpress.Spreadsheet Namespace