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

GetBackColorAlign() public method

Gets the color alignment.
public GetBackColorAlign ( PaletteBackStyle style, PaletteState state ) : PaletteRectangleAlign
style PaletteBackStyle Background style.
state PaletteState Palette value should be applicable to this state.
return PaletteRectangleAlign
        public override PaletteRectangleAlign GetBackColorAlign(PaletteBackStyle style, PaletteState state)
        {
            IPaletteTriple inherit = GetInherit(state);
            if (inherit != null)
                return inherit.PaletteBack.GetBackColorAlign(state);
            else
                return base.GetBackColorAlign(style, state);
        }