public GetImage ( PaletteState state ) : Image | ||
state | PaletteState | The state for which the image is needed. |
return | Image |
/// <summary> /// Gets the content image. /// </summary> /// <param name="state">The state for which the image is needed.</param> /// <returns>Image value.</returns> public Image GetImage(PaletteState state) { if (KryptonCommand != null) { return(KryptonCommand.ImageSmall); } else { return(_labelValues.GetImage(state)); } }