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

GetBorderRounding() public method

Gets the border corner rounding.
public GetBorderRounding ( PaletteBorderStyle style, PaletteState state ) : int
style PaletteBorderStyle Border style.
state PaletteState Palette value should be applicable to this state.
return int
        public override int GetBorderRounding(PaletteBorderStyle style, PaletteState state)
        {
            IPaletteDouble inherit = GetInherit(state);

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