Table of Contents

Method LoadImages

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

LoadImages(bool)

Loads and initializes the images used for code completion symbols.

public virtual void LoadImages(bool isDark)

Parameters

isDark bool

A value indicating whether the dark theme is enabled. If true, the images will be adjusted for the dark theme; otherwise, the default theme is used.

Remarks

This method initializes the image collection for various symbol kinds (e.g., fields, events, methods, and properties) by assigning appropriate image names and colors. It also loads the images from embedded resources in the assembly. If the images have already been initialized, the method returns without performing any actions.