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
#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.