ComponentFactory.Krypton.Ribbon.QATButtonToContent.GetContentImageEffect C# (CSharp) Method

GetContentImageEffect() public method

Gets the effect applied to drawing of the image.
public GetContentImageEffect ( PaletteState state ) : PaletteImageEffect
state PaletteState Palette value should be applicable to this state.
return PaletteImageEffect
        public PaletteImageEffect GetContentImageEffect(PaletteState state)
        {
            if (state != PaletteState.Disabled)
                return PaletteImageEffect.Normal;
            else
                return PaletteImageEffect.Disabled;
        }