GlobalIndex Property

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; }

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.

.NET Framework
Available since 3.0
Return to top
© 2015 Microsoft