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

GetContentImageH() public method

Gets the horizontal relative alignment of the image.
public GetContentImageH ( PaletteContentStyle style, PaletteState state ) : PaletteRelativeAlign
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
return PaletteRelativeAlign
        public override PaletteRelativeAlign GetContentImageH(PaletteContentStyle style, PaletteState state)
        {
            IPaletteTriple inherit = GetInherit(state);
            if (inherit != null)
                return inherit.PaletteContent.GetContentImageH(state);
            else
                return base.GetContentImageH(style, state);
        }