Table of Contents

Method Initialize

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

Initialize()

Initializes the DefaultColors based on the current system theme.

public static void Initialize()

Remarks

This method determines appropriate light and dark color values for various UI elements (such as window and control backgrounds and foregrounds) by inspecting the system's current color scheme. It ensures that the application adapts to both light and dark themes for a consistent user experience.