DrawingAttributes.GetPropertyDataIds Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Returns the GUIDs of any custom properties associated with the StrokeCollection.

Namespace:   System.Windows.Ink
Assembly:  PresentationCore (in PresentationCore.dll)

public Guid[] GetPropertyDataIds()

Return Value

Type: System.Guid[]

An array of type Guid that represents the property data identifiers.

The GUIDs for the built-in properties of the DrawingAttributes class are in the DrawingAttributeIds class.

The following example demonstrates how to get the property data identifiers from the DrawingAttributes object. This example assumes that a DrawingAttributes called inkDA has been declared.

Guid[] propertyIDs = inkDA.GetPropertyDataIds();

.NET Framework
Available since 3.0
Return to top