ComponentFactory.Krypton.Toolkit.KryptonColorButton.GetImageTransparentColor C# (CSharp) Method

GetImageTransparentColor() public method

Gets the image color that should be transparent.
public GetImageTransparentColor ( PaletteState state ) : Color
state PaletteState The state for which the image is needed.
return Color
        public Color GetImageTransparentColor(PaletteState state)
        {
            if (KryptonCommand != null)
                return KryptonCommand.ImageTransparentColor;
            else
                return _buttonValues.GetImageTransparentColor(state);
        }