Table of Contents

Method GetRealImage

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

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 VisualControlState

Item state.

isDark bool?

Light/dark theme flag.

control Control

Control which scale factor is used.

Returns

ImageSet