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

GetContentShortTextImageAlign() public method

Gets the image alignment for the short text.
public GetContentShortTextImageAlign ( PaletteContentStyle style, PaletteState state ) : PaletteRectangleAlign
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
return PaletteRectangleAlign
        public override PaletteRectangleAlign GetContentShortTextImageAlign(PaletteContentStyle style, PaletteState state)
        {
            IPaletteTriple inherit = GetInherit(state);
            if (inherit != null)
                return inherit.PaletteContent.GetContentShortTextImageAlign(state);
            else
                return base.GetContentShortTextImageAlign(style, state);
        }