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

GetBorderImage() public method

Gets a border image.
public GetBorderImage ( PaletteBorderStyle style, PaletteState state ) : Image
style PaletteBorderStyle Border style.
state PaletteState Palette value should be applicable to this state.
return Image
        public override Image GetBorderImage(PaletteBorderStyle style, PaletteState state)
        {
            IPaletteDouble inherit = GetInherit(state);

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