Method SetImage
SetImage(VisualControlState, object?, bool?)
Sets image for the specified color theme light/dark theme flag.
public void SetImage(VisualControlState state, object? image, bool? isDark = null)
Parameters
state
VisualControlStateVisual state (normal, disabled, selected) for which image is set.
image
objectNew image value.
isDark
bool?Whether theme is dark.