Back to API Reference
Class
CaretContextBehavior
sealed
Inherits:InputBehavior
Hosts CaretContextHandlers — composable consumers of CaretContextChanged, each carrying its own serialized settings (StyleStateHandler for toolbar button state; subclass the handler for floating bubbles or custom context UI). Code-first consumers subscribe ContextChanged directly.
public Action<CaretContext> ContextChangedOccurs when the caret context has changed, once per change with the full payload.
