Method GetRealImage
GetRealImage(VisualControlState, bool?, Control?)
Gets real menu image for the specified state constructed from the following properties: Image, DisabledImage, SvgImage, SvgImageSize.
public virtual ImageSet? GetRealImage(VisualControlState state, bool? isDark = null, Control? control = null)
Parameters
state
VisualControlStateItem state.
isDark
bool?Light/dark theme flag.
control
ControlControl which scale factor is used.