public GetImageTransparentColor ( PaletteState state ) : Color | ||
state | PaletteState | The state for which the image color is needed. |
return | Color |
/// <summary> /// Gets the image color that should be transparent. /// </summary> /// <param name="state">The state for which the image is needed.</param> /// <returns>Color value.</returns> public Color GetImageTransparentColor(PaletteState state) { if (KryptonCommand != null) { return(KryptonCommand.ImageTransparentColor); } else { return(_labelValues.GetImageTransparentColor(state)); } }