StrokeCollection Methods

The StrokeCollection type exposes the following members.

  NameDescription
Public method Add Overloaded. Adds a Stroke to the StrokeCollection.
Public method AddPropertyData Adds a custom property to the StrokeCollection.
Public method Clear Removes all elements from the Collection<T>. (Inherited from Collection<T>.)
Protected method ClearItems Infrastructure. Clears all strokes from the StrokeCollection. (Overrides Collection<T>.ClearItems().)
Public method Clip Overloaded. Removes all strokes in the StrokeCollection that are outside the specified bounds.
Public method Clone Copies the StrokeCollection.
Public method Contains Determines whether an element is in the Collection<T>. (Inherited from Collection<T>.)
Public method ContainsPropertyData Returns whether the specified custom property identifier is in the StrokeCollection.
Public method CopyTo Copies the entire Collection<T> to a compatible one-dimensional Array, starting at the specified index of the target array. (Inherited from Collection<T>.)
Public method Draw Draws the strokes in the StrokeCollection.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public method Erase Overloaded. Removes the ink that is within the bounds of the specified area.
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetBounds Returns the bounds of the strokes in the collection.
Public method GetEnumerator Returns an enumerator that iterates through the Collection<T>. (Inherited from Collection<T>.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetIncrementalLassoHitTester Creates an IncrementalLassoHitTester that hit tests the StrokeCollection with a lasso (freehand) path.
Public method GetIncrementalStrokeHitTester Creates an IncrementalStrokeHitTester that hit tests the StrokeCollection with an erasing path.
Public method GetPropertyData Returns the value of the custom property associated with the specified Guid.
Public method GetPropertyDataIds Returns the GUIDs of any custom properties associated with the StrokeCollection.
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Public method HitTest Overloaded. Returns a collection of strokes contained within the specified area.
Public method IndexOf Returns the index of the specified Stroke in the StrokeCollection.
Public method Insert Inserts an element into the Collection<T> at the specified index. (Inherited from Collection<T>.)
Protected method InsertItem Infrastructure. Inserts a stroke into the StrokeCollection at the specified index. (Overrides Collection<T>.InsertItem(Int32, T).)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnPropertyChanged Occurs when any StrokeCollection property changes.
Protected method OnPropertyDataChanged Raises the PropertyDataChanged event.
Protected method OnStrokesChanged Raises the StrokesChanged event.
Public method Remove Overloaded. Removes a Stroke from the collection.
Public method RemoveAt Removes the element at the specified index of the Collection<T>. (Inherited from Collection<T>.)
Protected method RemoveItem Infrastructure. Removes the stroke at the specified index from the StrokeCollection. (Overrides Collection<T>.RemoveItem(Int32).)
Public method RemovePropertyData Removes the custom property associated with the specified Guid.
Public method Replace Overloaded. Replaces the strokes in the collection.
Public method Save Overloaded. Saves the StrokeCollection.
Protected method SetItem Infrastructure. Replaces the stroke at the specified index. (Overrides Collection<T>.SetItem(Int32, T).)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method Transform Modifies each of the StylusPoints and optionally the StylusTipTransform for each stroke in the StrokeCollection according to the specified Matrix.
Top

  NameDescription
Explicit interface implemetation Private method IList.Add Adds an item to the IList. (Inherited from Collection<T>.)
Explicit interface implemetation Private method IList.Contains Determines whether the IList contains a specific value. (Inherited from Collection<T>.)
Explicit interface implemetation Private method ICollection.CopyTo Copies the elements of the ICollection to an Array, starting at a particular Array index. (Inherited from Collection<T>.)
Explicit interface implemetation Private method IEnumerable.GetEnumerator Returns an enumerator that iterates through a collection. (Inherited from Collection<T>.)
Explicit interface implemetation Private method IList.IndexOf Determines the index of a specific item in the IList. (Inherited from Collection<T>.)
Explicit interface implemetation Private method IList.Insert Inserts an item into the IList at the specified index. (Inherited from Collection<T>.)
Explicit interface implemetation Private method IList.Remove Removes the first occurrence of a specific object from the IList. (Inherited from Collection<T>.)
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft