Vcl.Markdown.TMDCustomControl.OnStyleModeChanged
Prototype
property OnStyleModeChanged: TStyleModeChangedEvent read FOnStyleModeChanged write FOnStyleModeChanged;
Description
Occurs when switching between light and dark modes.
aMode contains the selected mode (smLight or smDark) after a call to TMDStyle.SelectMode. This is the place to change the background and font color accordingly if needed.