Method SetImage
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
VisualControlStateVisual state (normal, disabled, selected) for which image is set.
image
ImageNew image value.
isDark
bool?Whether theme is dark.