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

GetContentLongTextTrim() public method

Gets the text trimming to use for long text.
public GetContentLongTextTrim ( PaletteContentStyle style, PaletteState state ) : PaletteTextTrim
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
return PaletteTextTrim
        public override PaletteTextTrim GetContentLongTextTrim(PaletteContentStyle style, PaletteState state)
        {
            IPaletteTriple inherit = GetInherit(state);
            if (inherit != null)
                return inherit.PaletteContent.GetContentLongTextTrim(state);
            else
                return base.GetContentLongTextTrim(style, state);
        }