ComponentFactory.Krypton.Toolkit.PaletteRedirectBack.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)
        {
            IPaletteBack inherit = GetInherit(state);

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