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

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