DrawingAttributes::PropertyDataChanged Event

 

Occurs when property data is added or removed from the StrokeCollection.

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

public:
event PropertyDataChangedEventHandler^ PropertyDataChanged {
	void add(PropertyDataChangedEventHandler^ value);
	void remove(PropertyDataChangedEventHandler^ value);
}

The following example is part of a custom stroke that can draw a three-dimensional effect. The stroke defines and stores a custom property called Shadowed, which belongs to DrawingAttributes. When the Shadowed property changes, the PropertyDataChanged event handler calls the OnInvalidated method, which causes the stroke to be redrawn.

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

.NET Framework
Available since 3.0
Return to top
Show: