RemovePropertyData Method

StrokeCollection.RemovePropertyData Method (Guid)

 

Removes the custom property associated with the specified Guid.

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

public void RemovePropertyData(
	Guid propertyDataId
)

Parameters

propertyDataId
Type: System.Guid

The Guid associated with the custom property to remove.

The following example demonstrates how to remove a custom property from the StrokeCollection. This example assumes that there is an InkCanvas called inkCanvas1 and a Guid called timestamp.

if (inkCanvas1.Strokes.ContainsPropertyData(timestamp))
{
    inkCanvas1.Strokes.RemovePropertyData(timestamp);
}

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft