ComponentFactory.Krypton.Toolkit.PaletteRedirectDouble.GetBackGraphicsHint C# (CSharp) Method

GetBackGraphicsHint() public method

Gets the graphics drawing hint for the background.
public GetBackGraphicsHint ( PaletteBackStyle style, PaletteState state ) : PaletteGraphicsHint
style PaletteBackStyle Border style.
state PaletteState Palette value should be applicable to this state.
return PaletteGraphicsHint
        public override PaletteGraphicsHint GetBackGraphicsHint(PaletteBackStyle style, PaletteState state)
        {
            IPaletteDouble inherit = GetInherit(state);

            if (inherit != null)
                return inherit.PaletteBack.GetBackGraphicsHint(state);
            else
                return Target.GetBackGraphicsHint(style, state);
        }