Skip to main content
All docs
V24.1

DefinedNameEventArgs.IsGlobal Property

Gets whether the defined name has a workbook scope.

Namespace: DevExpress.XtraSpreadsheet

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

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

public bool IsGlobal { get; }

Property Value

Type Description
Boolean

true if the name is contained in the workbook’s defined name collection; otherwise, false.

Remarks

Each worksheet in a workbook and the workbook itself have their own defined names. Obtain these names through the Worksheet.DefinedNames and IWorkbook.DefinedNames properties.

If the 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. Use the DefinedName.Scope property to get the worksheet to which the defined name is scoped.

See Also