Skip to main content
All docs
V24.2

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

DefinedNameEventArgs.IsGlobal Property

Gets whether the defined name has a workbook scope.

Namespace: DevExpress.XtraSpreadsheet

Assembly: DevExpress.Spreadsheet.v24.2.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