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

GetContentShortTextColorAlign() public method

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