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

DefinedName.IsGlobal Property

Gets a value indicating whether the defined name has a workbook scope.

Namespace: DevExpress.Spreadsheet

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

Declaration

bool IsGlobal { get; }
ReadOnly Property IsGlobal As Boolean
bool IsGlobal { get; }
ReadOnly Property IsGlobal As Boolean
bool IsGlobal { get; }
ReadOnly Property IsGlobal As Boolean

Property Value

Type Description
Boolean

true, if the name belongs to the workbook defined name collection; otherwise, false.

Property Value

Type Description
Boolean

true, if the name belongs to the workbook defined name collection; otherwise, false.

Property Value

Type Description
Boolean

true, if the name belongs to the workbook defined name collection; otherwise, false.

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 IsGlobal property returns true. If the name has a local worksheet scope, the IsGlobal property returns false. In this case, you can use the DefinedName.Scope property to get a worksheet to which the defined name is scoped.

See Also