.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+
Row

DefinedName.Scope Property

Gets a worksheet to which the defined name is scoped.

Namespace: DevExpress.Spreadsheet

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

Declaration

Worksheet Scope { get; }
ReadOnly Property Scope As Worksheet
Worksheet Scope { get; }
ReadOnly Property Scope As Worksheet
Worksheet Scope { get; }
ReadOnly Property Scope As Worksheet

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.

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.

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