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

GetBorderColorAlign() public method

Gets the color border alignment.
public GetBorderColorAlign ( PaletteBorderStyle style, PaletteState state ) : PaletteRectangleAlign
style PaletteBorderStyle Border style.
state PaletteState Palette value should be applicable to this state.
return PaletteRectangleAlign
        public override PaletteRectangleAlign GetBorderColorAlign(PaletteBorderStyle style, PaletteState state)
        {
            IPaletteDouble inherit = GetInherit(state);

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