This documentation is archived and is not being maintained.

DependencyProperty.GlobalIndex Property

Gets an internally generated value that uniquely identifies the dependency property.

Namespace:  System.Windows
Assembly:  WindowsBase (in WindowsBase.dll)

public int GlobalIndex { get; }
You cannot set this property in XAML.

Property Value

Type: System.Int32
A unique numeric identifier.

This value is an integer, not a globally unique identifier (GUID). Generally, using this index value is not required, and there is no index access to tables of all dependency properties. Dependency properties should instead be referenced by their identifier fields.

GlobalIndex is used internally for faster access to data structures that use the GlobalIndex as a zero-based array index. A similar usage might have applications for designers or tools.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0
Show: