StrokeCollection::ContainsPropertyData Method (Guid)
.NET Framework (current version)
Returns whether the specified custom property identifier is in the StrokeCollection.
Assembly: PresentationCore (in PresentationCore.dll)
Parameters
- propertyDataId
-
Type:
System::Guid
The Guid to locate in the StrokeCollection.
Return Value
Type: System::Booleantrue if the specified custom property identifier is in the StrokeCollection; otherwise, false.
The following example demonstrates how to check for custom property in a StrokeCollection. If a custom property has been associated with timestamp, the example gets that custom property and shows when the StrokeCollection was saved. This example assumes that there is an InkCanvas called inkCanvas1.
.NET Framework
Available since 3.0
Available since 3.0
Show: