Stroke.Invalidated Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when the appearance of the Stroke changes.
public:
event EventHandler ^ Invalidated;
public event EventHandler Invalidated;
member this.Invalidated : EventHandler
Public Custom Event Invalidated As EventHandler
Public Event Invalidated As EventHandler
Event Type
Remarks
The InkPresenter handles the Invalidated event and calls the DrawCore method. If you inherit from the Stroke class and your stroke's appearance is based on a custom state, you must call the OnInvalidated method to raise the Invalidated event.
Applies to
Συνεργαστείτε μαζί μας στο GitHub
Μπορείτε να βρείτε την πηγή για αυτό το περιεχόμενο στο GitHub, όπου μπορείτε επίσης να δημιουργήσετε και να εξετάσετε ζητήματα και αιτήματα έλξης. Για περισσότερες πληροφορίες, ανατρέξτε στον οδηγό συνεργατών.