Example #1
0
 /// <summary>
 /// Event handler for stroke's drawing attributes changes.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="args"></param>
 private void OnStrokeDrawingAttributesChanged(object sender, PropertyDataChangedEventArgs args)
 {
     // Only enforce rehittesting of the whole stroke when the DrawingAttribute change may affect hittesting
     if (DrawingAttributes.IsGeometricalDaGuid(args.PropertyGuid))
     {
         Invalidate();
     }
 }