Table of Contents

Method SetImage

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

SetImage(VisualControlState, Image?, bool?)

Sets image for the specified color theme light/dark theme flag.

public virtual void SetImage(VisualControlState state, Image? image, bool? isDark = null)

Parameters

state VisualControlState

Visual state (normal, disabled, selected) for which image is set.

image Image

New image value.

isDark bool?

Whether theme is dark.