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

GetContentShortTextPrefix() public method

Gets the prefix drawing setting for short text.
public GetContentShortTextPrefix ( PaletteState state ) : PaletteTextHotkeyPrefix
state PaletteState Palette value should be applicable to this state.
return PaletteTextHotkeyPrefix
        public PaletteTextHotkeyPrefix GetContentShortTextPrefix(PaletteState state)
        {
            if (_shortText.Prefix != PaletteTextHotkeyPrefix.Inherit)
                return _shortText.Prefix;
            else
                return _inherit.GetContentShortTextPrefix(state);
        }