Prototype

procedure SelectMode(aMode: TMDStyleMode); virtual;

Description

Method to switch between the light and dark mode.

When switching modes, the controls' OnStyleModeChanged event is fired, allowing background and font colors to be adjusted.