Stroke.DrawingAttributesChanged Event

 

Occurs when the DrawingAttributes associated with the Stroke object change.

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

public event PropertyDataChangedEventHandler DrawingAttributesChanged

The PropertyDataChangedEventArgs contains information about the property that changed. You can compare the PropertyGuid property against the members of DrawingAttributeIds to see which value changed.

The following example demonstrates how to add a handler for this event.

// Handle DrawingAtributesChanged event on stroke
myNewStroke.DrawingAttributesChanged += new PropertyDataChangedEventHandler(myNewStroke_DrawingAttributesChanged);

.NET Framework
Available since 3.0
Return to top
Show: