Table of Contents

Field RecolorForDarkModeOverride

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

Gets or sets a delegate that applies custom recoloring to an image for dark mode scenarios.

public static Func<Image, Bitmap>? RecolorForDarkModeOverride

Returns

Func<Image, Bitmap>
Gets or sets a delegate that applies custom recoloring to an image for dark mode scenarios.

Remarks

If set, this delegate overrides the default dark mode recoloring logic. The delegate should accept an input image and return a recolored image suitable for display in dark mode. If the value is null, the default recoloring behavior is used.