Skip to main content
Row

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

DefinedName.Scope Property

Gets a worksheet to which the defined name is scoped.

Namespace: DevExpress.Spreadsheet

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

NuGet Package: DevExpress.Spreadsheet.Core

#Declaration

Worksheet Scope { get; }

#Property Value

Type Description
Worksheet

A Worksheet object which stores the given defined name, or null (Nothing in Visual Basic) if the name has a workbook scope.

#Remarks

Each worksheet contained in a workbook, as well as the workbook itself, has its own collection of defined names accessible via the Worksheet.DefinedNames and IWorkbook.DefinedNames properties, respectively. If the specified defined name belongs to the workbook’s DefinedNameCollection, the Scope property returns null (Nothing in Visual Basic). Use the DefinedName.IsGlobal property to determine whether the name has a global workbook scope.

See Also