Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

StrokeCollection::StrokesChanged Event

 

Occurs when a Stroke in the collection changes.

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

public:
event StrokeCollectionChangedEventHandler^ StrokesChanged {
	void add(StrokeCollectionChangedEventHandler^ value);
	void remove(StrokeCollectionChangedEventHandler^ value);
}

The following example adds the current time as a custom property to each new stroke in the StrokesChanged event handler. The example assumes that the StrokesChanged event is connected to the event handler defined in this example.

No code example is currently available or this language may not be supported.

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