Back to API Reference
Class
StyleStateHandler
sealed
Inherits:CaretContextHandler
Implements:IModifierChangeSink
Edge-triggered toolbar-state handler: tracks whether typing now produces the configured style (IsStyleActive — pending typing styles win) and raises Changed only when the value flips, plus once with the initial state on attach.
public Action<bool> ChangedOccurs when the configured style's caret state flips and once on attach.
