Table of Contents

Class LightDarkImage<TImage>

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

Contains image for the light and dark color themes.

public class LightDarkImage<TImage> where TImage : class

Type Parameters

TImage
Inheritance
LightDarkImage<TImage>

Fields

Dark

Gets or sets image for the dark color theme.

Light

Gets or sets image for the light color theme.

Methods

GetImage(bool)

Gets image for the specified light/dark flag.

SetImage(bool, TImage?)

Sets image for the specified light/dark flag.