ComponentFactory.Krypton.Toolkit.PaletteRedirectCommon.GetBorderImageAlign C# (CSharp) Method

GetBorderImageAlign() public method

Gets the image border alignment.
public GetBorderImageAlign ( PaletteBorderStyle style, PaletteState state ) : PaletteRectangleAlign
style PaletteBorderStyle Border style.
state PaletteState Palette value should be applicable to this state.
return PaletteRectangleAlign
        public override PaletteRectangleAlign GetBorderImageAlign(PaletteBorderStyle style, PaletteState state)
        {
            IPaletteTriple inherit = GetInherit(state);
            if (inherit != null)
                return inherit.PaletteBorder.GetBorderImageAlign(state);
            else
                return base.GetBorderImageAlign(style, state);
        }