DrawingAttributes::PropertyDataChanged Event
.NET Framework (current version)
Occurs when property data is added or removed from the StrokeCollection.
Assembly: PresentationCore (in PresentationCore.dll)
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.
.NET Framework
Available since 3.0
Available since 3.0
Show: