Share via

IClassifier.ClassificationChanged Event


Occurs when the classification of a span of text has changed.

 event EventHandler<Microsoft::VisualStudio::Text::Classification::ClassificationChangedEventArgs ^> ^ ClassificationChanged;
event EventHandler<Microsoft.VisualStudio.Text.Classification.ClassificationChangedEventArgs> ClassificationChanged;
member this.ClassificationChanged : EventHandler<Microsoft.VisualStudio.Text.Classification.ClassificationChangedEventArgs> 
Event ClassificationChanged As EventHandler(Of ClassificationChangedEventArgs) 

Event Type


This event does not need to be raised for newly-inserted text. However, it should be raised if any text other than that which was actually inserted has been reclassified. It should also be raised if the deletion of text causes the remaining text to be reclassified.

Applies to