ComponentFactory.Krypton.Toolkit.PaletteContent.GetContentShortTextTrim C# (CSharp) Method

GetContentShortTextTrim() public method

Gets the actual text trimming for the short text.
public GetContentShortTextTrim ( PaletteState state ) : PaletteTextTrim
state PaletteState Palette value should be applicable to this state.
return PaletteTextTrim
        public PaletteTextTrim GetContentShortTextTrim(PaletteState state)
        {
            if (_shortText.Trim != PaletteTextTrim.Inherit)
                return _shortText.Trim;
            else
                return _inherit.GetContentShortTextTrim(state);
        }