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

GetBackImageAlign() public method

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